When I use the code below.
open(FILEOPENED, "$fileopened") || die "couldn't open the file! $!"; while ($data = <FILEOPENED>) { print $data; } close(FILEOPENED); }
If $fileopened contains an alias as a path to the file i want to open (rather then a real link) , i get an error message. Not a directory at rename.pl line 37.
How do I use an alias in the path to a file? Im using OS X 1.39.
In reply to Alias's and file handles by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |