I agree with grinder that your var names are obfu, which has its place, but usually we choose descriptive names like $p and $f or even $pathname and $filename ;-)($b,$c) = $a =~ m|^(.*[/\\])([^/\\]+?)$|;
In reply to Re: How do I split a string containing path+filename
by tachyon
in thread How do I split a string containing path+filename
by psmail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |