Welcome to the Monastery | |
PerlMonks |
Re: Store result of split directly to variable(s)by Athanasius (Archbishop) |
on Aug 22, 2014 at 16:32 UTC ( [id://1098342]=note: print w/replies, xml ) | Need Help?? |
Hello Perl_Ally, Here are two methods: (1) Subscript the list returned by split:
(2) Assign the unwanted value to undef:
Hope that helps,
In Section
Seekers of Perl Wisdom
|
|