[Pdx-pm] tilde in paths
kellert at ohsu.edu
Thu Nov 20 15:54:22 CST 2003
Forgive my laziness for not searching for the answer to this. But does
someone off the top of their head know how to open a file with a tilde
in the path?
Specifically, I want something like:
open FILE, '~/Documents/myfile' or die;
my @info = <FILE>;
to open myfile in the Documents dir in the users home directory.
I know the problem is passing it to the shell, but I don't know how to
More information about the Pdx-pm-list