Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Alias's and file handles
by john_oshea (Priest) on Apr 09, 2006 at 13:06 UTC | |
|
Re: Alias's and file handles
by aufflick (Deacon) on Apr 10, 2006 at 00:09 UTC | |
|
Re: Alias's and file handles
by richill (Monk) on Apr 09, 2006 at 12:15 UTC |