No such thing as a small change | |
PerlMonks |
Re: Why does /i not seem to workby choroba (Cardinal) |
on Nov 21, 2019 at 15:47 UTC ( [id://11108993]=note: print w/replies, xml ) | Need Help?? |
Try examining the $rx:
The sequence ?^ is described in perlre: > Starting in Perl 5.14, a "^" (caret or circumflex accent) immediately after the "?" is a shorthand equivalent to "d-imnsx". Flags (except "d") may follow the caret to override it. But a minus sign is not legal with it. -i means the qr() by default creates case sensitive regex objects.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|