Make Switch.pm skip POD like perl does
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 28 Dec 2008 22:30:57 +0000 (23:30 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 28 Dec 2008 22:35:52 +0000 (23:35 +0100)
commit39bcdda02ea582e7bdf8b0cf2e7186e89c6baea9
tree95d63b336656fddeb1c836bce590bc1fe2c5e629
parent6a9befb105d93024902eb178dab77655333f1829
Make Switch.pm skip POD like perl does

Patch provided by Daniel Klein <danielklein-à-airpost.net> :

  It also doesn't check for invalid POD which gets ignored by the
  compiler anyway.

Seems that Damian had a POD parser in mind when he devised those
regular expressions, but perl only looks for =cut followed by a
non-letter.
lib/Switch.pm