Dec 18, 2008 #1 ejaggers Programmer Feb 26, 2005 148 US in Unix the ~ is the user's home directory. ie ls -l ~ cd ~ take you to the home home directory. How do you find the home dir on unix in perl?
in Unix the ~ is the user's home directory. ie ls -l ~ cd ~ take you to the home home directory. How do you find the home dir on unix in perl?
Dec 18, 2008 1 #2 Kirsle Programmer Jan 21, 2006 1,179 US $ENV{HOME} In unix run the `env` command and see what other neat stuff Perl can get. Cuvou.com | My personal homepage Code: perl -e '$|=$i=1;print" oo\n<|>\n_|_";x:sleep$|;print"\b",$i++%2?"/":"_";goto x;' Upvote 0 Downvote
$ENV{HOME} In unix run the `env` command and see what other neat stuff Perl can get. Cuvou.com | My personal homepage Code: perl -e '$|=$i=1;print" oo\n<|>\n_|_";x:sleep$|;print"\b",$i++%2?"/":"_";goto x;'