in reply to How do I extract a file name from a path string
( $dir, $file ) = m/(.*)[\\\/](.+)/ ? ( $1, $2 ) : ( undef, $_ );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Answer: How do I extract a file name from a path string
by talexb (Chancellor) on Jan 17, 2005 at 22:47 UTC | |
by legato (Monk) on Jan 18, 2005 at 15:02 UTC |