[Pdx-pm] Win32 network files

Eric Wilhelm scratchcomputing at gmail.com
Wed Mar 22 14:27:05 PST 2006


Maybe peek into File::Spec::Win32 and take another look at perlport.

# from Kris Bosland
# on Wednesday 22 March 2006 02:01 pm:

>perl -e "print qq{hello\n} if -f q{\\a\b\c}" doesn't.

Perl should take / as the separator for anything internal (e.g. not 
arguments to exec/system commands.)

  perl -e "print qq{hello\n} if -f q{//a/b/c}"

also, q{\\} eq q{\} here.  Maybe \\\\ is all you need.

--Eric
-- 
Chicken farmer's observation:  Clunk is the past tense of cluck.
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------


More information about the Pdx-pm-list mailing list