P.S. Why did you use (.| )* instead of .* ?$file="C:/aplle/index.htm"; $file=~ s/.*[\/\\]//; # delete everything(!) upto the last / or \ print $file;
In reply to Re: Re: Uploading Time (getting last element of a variable)
by SarahM
in thread Uploading Time
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |