Perl: the Markov chain saw | |
PerlMonks |
Re^10: What esteemed monks think about changes necessary/desirable in Perl 7 outside of OO staffby choroba (Cardinal) |
on Oct 06, 2020 at 21:35 UTC ( [id://11122574]=note: print w/replies, xml ) | Need Help?? |
The parsing of such an ambiguous expression depends on the prototypes of the subroutines/functions involved.
split can take more than one argument, so it greedily takes all it can. > Unless this problem is fixed It's not a problem, it's a documented behaviour.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Meditations
|
|