My "file" is coming from your code, where you state "# $file set to 'C:/Windows/images/hello.gif'". I presume, now, that you mean 'C:\Windows\images\hello.gif', which indeed will fail, cause of the backslashes. (foo\bar can be a valid filename under *NIX)
In reply to Re: use File::Basename - need to specify OS?
by b10m
in thread use File::Basename - need to specify OS?
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |