in reply to newb question
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: newb question
by anesthdr (Initiate) on Sep 04, 2007 at 04:36 UTC |