Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
There's more than one way to do things
 
PerlMonks  

Re: Trouble with path syntax

by bm (Hermit)
on Aug 29, 2003 at 16:11 UTC ( #287740=note: print w/ replies, xml ) Need Help??


in reply to Trouble with path syntax

use File::Basename; my $thebase = dirname($file); $thebase = dirname($thebase).'/default' unless -e $file;
--
bm


Comment on Re: Trouble with path syntax
Download Code
Re: Re: Trouble with path syntax
by diamich (Initiate) on Aug 29, 2003 at 16:39 UTC
    That one did it!!! THANKS EVER SO MUCH!!!! :))

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-04-23 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (556 votes), past polls