"be consistent" | |
PerlMonks |
Re: newb questionby f00li5h (Chaplain) |
on Sep 04, 2007 at 04:27 UTC ( [id://636830]=note: print w/replies, xml ) | Need Help?? |
The error message you speak of refers to * or ? appearing following nothing (or something that can't be repeated)... m/?/ or m/*/ are the most simple ways to get the message. you want to use m/\Q$string_with_regex_chars_in\E/ or quotemeta to interpolate strings that contain regex meta-characters into a pattern. @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
In Section
Seekers of Perl Wisdom
|
|