The base sub has to return either $a or $b, $pathname or $filename
Err... no.
--sub do_the_match { my $dir = shift; my ($path, $name) = ($dir =~ /(.*)\/([^\/]*)$/); return ($path, $name); }
In reply to Re: Re: Re: aliasing subs
by edan
in thread aliasing subs
by december
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |