Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Think about Loose Coupling
 
PerlMonks  

Re: file::spec and catfile?

by LD2 (Curate)
on Jun 29, 2001 at 15:48 UTC ( [id://92691]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to file::spec and catfile?

It can be done... here's an example (win32 system):
use File::Spec; my $file; my $dir; my $wholefile; $dir = "c:\\perl\\bin\\"; $file = "perldoc.bat"; $wholefile = File::Spec->catfile($dir,$file); print "file: " .$wholefile;
You may want to read the documents again... as well as search Google.

Update: Eep, I must be on a roll today... anyways.. VSarkiss has answered it a bit more concisely!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://92691]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.