Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: problems with perl input

by Athanasius (Abbot)
on Mar 20, 2013 at 02:26 UTC ( #1024417=note: print w/ replies, xml ) Need Help??

in reply to problems with perl input

Hello jarwulf, and welcome to the Monastery!

You need to convert $inputFile into an absolute path before passing it to splitpath(). For example:

my ($inputFileVolume, $inputFileDir, $name) = File::Spec->splitpath(File::Spec->rel2abs($inputFile));

Or you could consider using File::Spec->curdir(). See File::Spec.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Comment on Re: problems with perl input
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2015-08-29 02:05 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (342 votes), past polls