in reply to ('Re: ' x 6) How to remove the $1 hard coding
in thread How to remove the $1 hard coding
Sure - you are of course correct. However like you I am almost positive the poster has no idea how that RE will behave, vis:
@res = 'IS~THISOK?' =~ m/\s*(\S+)\s*(\S+)\s*(\S+)\s*(\S+)\s*/; print "@res\n"; __DATA__ IS~THIS O K ?
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|