in reply to Referencing string: Can't use string as a SCALAR ref
my $strFileA = 'C:\foo\a\b\c\123.xml'; my ($filename) = ($strFileA =~ /\\([^\\]*)$/); print $filename,"\n";
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Referencing string: Can't use string as a SCALAR ref
by P0w3rK!d (Pilgrim) on May 12, 2003 at 18:33 UTC | |
by antirice (Priest) on May 12, 2003 at 19:23 UTC | |
Re: Re: Referencing string: Can't use string as a SCALAR ref
by P0w3rK!d (Pilgrim) on May 12, 2003 at 18:17 UTC |