my $strFileA = 'C:\foo\a\b\c\123.xml'; my ($filename) = ($strFileA =~ /\\([^\\]*)$/); print $filename,"\n";
Cheers - L~R
In reply to Re: Referencing string: Can't use string as a SCALAR ref
by Limbic~Region
in thread Referencing string: Can't use string as a SCALAR ref
by P0w3rK!d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |