Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Memorizing The s/// Option List For Fun and Profitby tobyink (Canon) |
on May 24, 2013 at 10:35 UTC ( [id://1035106]=note: print w/replies, xml ) | Need Help?? |
Bear in mind that some regexp modifiers are mutually exclusive; for example /a which imposes ASCII semantics on the string being matches, and /l which imposes locale semantics on it. Thus s/foo/bar/miracles is a compile time error. Here's a quick script to find allowable words...
I rather like these ones:
Now to find a way to patch B::Deparse...
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Meditations
|
|