Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
Replies are listed 'Best First'.
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 having an uproarious good time at the Monastery: (12)
As of 2015-07-07 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls