in reply to Re: Re: aliasing subs
in thread aliasing subs
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); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: aliasing subs
by december (Pilgrim) on May 06, 2003 at 15:30 UTC |