If you really want to split...
HTH#!perl -w my $string = "/tmp/test/t1.out"; my $file = (split("/", $string))[-1]; print $file, $/; __END__ t1.out
In reply to Re: split "/" out of path
by guha
in thread split "/" out of path
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |