Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Determining if file path is absolute

by nysus (Parson)
on Nov 03, 2018 at 22:47 UTC ( [id://1225173]=note: print w/replies, xml ) Need Help??


in reply to Re: Determining if file path is absolute
in thread Determining if file path is absolute

OK, thanks for the additional clarification. I just need to verify that it looks like an absolute path. I was worried that the documentation was trying to say that if it looked like an absolute path on a local machine it might not look absolute on another machine.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re^2: Determining if file path is absolute

Replies are listed 'Best First'.
Re^3: Determining if file path is absolute
by haukex (Archbishop) on Nov 04, 2018 at 09:04 UTC
    I was worried that the documentation was trying to say that if it looked like an absolute path on a local machine it might not look absolute on another machine.

    You don't need to worry, unless those two machines are on different OSes, e.g. Windows vs. *NIX, since File::Spec loads the appropriate OS-specific module under the hood. On a *NIX system, it will say C:\\foo isn't absolute (on a Windows system, it'll still say /foo is absolute).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225173]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found