more useful options | |
PerlMonks |
Re^2: Using smartmatch with split functionby trizen (Hermit) |
on May 26, 2014 at 09:18 UTC ( [id://1087410]=note: print w/replies, xml ) | Need Help?? |
The smartmatch operator takes an array reference as argument:
simplifying the code to: 3 ~~ [split //, $a];
In Section
Seekers of Perl Wisdom
|
|