in reply to Re: Re: [perlre] using qr - help needed
in thread [perlre] using qr - help needed
qr// also is much less likely to be used mistakenly than /o and much easier to spot when it is. /o should be considered a relic from pre-qr// times that has few if any uses anymore.my $rx = qr/^@{[shift @ARGV]}$/; my @match = grep /$rx/, <>;
Makeshifts last the longest.
|
|---|