If you want more than one, use undef as a space holder:
my ( undef, $file ) = File::Spec->splitpath($path);
In reply to Re: How to access directly an element of an array / list returned by a function?
by shawnhcorey
in thread How to access directly an element of an array / list returned by a function?
by vic2608
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |