Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: problems with perl inputby Athanasius (Archbishop) |
on Mar 20, 2013 at 02:26 UTC ( [id://1024417]=note: print w/replies, xml ) | Need Help?? |
Hello jarwulf, and welcome to the Monastery! You need to convert $inputFile into an absolute path before passing it to splitpath(). For example:
Or you could consider using File::Spec->curdir(). See File::Spec. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|