Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: can regex contains function?by choroba (Cardinal) |
on Jun 19, 2020 at 07:49 UTC ( [id://11118257]=note: print w/replies, xml ) | Need Help?? |
> can regex contains function? Yes, it can. That's what /e is for.
But you don't need it here:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|