Hello,

Hi all.

How do I, inside Perl, get the path of the home directory?
I assume if I can do this, it will only work under Linux / Unix?

Under windows you can use print $ENV{USERPROFILE} to get the home directory. such as: C:\Documents and Settings\yantao
          USERPROFILE is the environment variable.
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to