Hi: What is the equivalent of basename? Ie if I dont want to use basename package to get the filename off a path, what reg expr can i use in perl?
Would this work -- my $fileName=$path =~ /.*\/(.+)$/; Thanks!
Hi: What is the equivalent of basename? Ie if I dont want to use basename package to get the filename off a path, what reg expr can i use in perl?
Would this work -- my $fileName=$path =~ /.*\/(.+)$/; Thanks!