in reply to python-like split+array access -- possible?
Or just use an anonym array:
my $myString = '123_456'; print [split /_/ , $myString]->[1];
In Section
Seekers of Perl Wisdom
in reply to python-like split+array access -- possible?
my $myString = '123_456'; print [split /_/ , $myString]->[1];