CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [aasadourian] filehandle directory path unix vs. windows: Edit Log



davorg
Thaumaturge / Moderator

Mar 23, 2007, 9:08 AM


Views: 2049
Re: [aasadourian] filehandle directory path unix vs. windows

As KevinR says, Windows should handle the Unix forward slashes without any problems.

But if you really need to know what operating system you are running on then take a look at the contents of the $^O variable.

Update: KevinR is right. I'm getting my slashes confused. Corrected.

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks


(This post was edited by davorg on Mar 23, 2007, 9:54 AM)


Edit Log:
Post edited by davorg (Thaumaturge) on Mar 23, 2007, 9:54 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives