go ahead... be a heretic | |
PerlMonks |
Re: Stop variable expansionby choroba (Cardinal) |
on Mar 18, 2021 at 21:30 UTC ( [id://11129926]=note: print w/replies, xml ) | Need Help?? |
If you want to search for a string, not a regex, use index.
> so I can't escape it. Of course you can. See quotemeta. But I still think using the above solution is better.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|