in reply to OS X troubleshooting help needed - parse filename & open file
I've been hacking Perl on OS X since the Public Beta and there are no differences between it and other *nixes for file handling (except the default filesystem is case-insensitive).
File and path handling has a lot of caveats. You should be using File::Spec, as suggested by roboticus, or Path::Class::(File|Dir). Where OS differences do exist those packages will handle it transparently.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: OS X troubleshooting help needed - parse filename & open file
by elef (Friar) on Oct 17, 2010 at 18:19 UTC | |
by Your Mother (Archbishop) on Oct 17, 2010 at 19:32 UTC | |
by elef (Friar) on Oct 17, 2010 at 20:33 UTC | |
by Corion (Patriarch) on Oct 17, 2010 at 18:24 UTC | |
by elef (Friar) on Oct 17, 2010 at 19:01 UTC | |
by Corion (Patriarch) on Oct 17, 2010 at 19:42 UTC | |
by elef (Friar) on Oct 17, 2010 at 20:11 UTC | |
by elef (Friar) on Oct 17, 2010 at 20:21 UTC |
In Section
Seekers of Perl Wisdom