mangetsu has asked for the wisdom of the Perl Monks concerning the following question:
Is this complete gibberish or can I write someeing similar? Thanksif (<check that the file exists>) { use settings; } else { $::CONFIGPATH = "C:\\configdir\\config.pm"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use statement in a conditional?
by imp (Priest) on Aug 18, 2006 at 13:48 UTC | |
|
Re: use statement in a conditional?
by davidrw (Prior) on Aug 18, 2006 at 13:49 UTC | |
|
Re: use statement in a conditional?
by ikegami (Patriarch) on Aug 18, 2006 at 15:49 UTC | |
by mangetsu (Novice) on Aug 18, 2006 at 17:06 UTC | |
by mangetsu (Novice) on Aug 18, 2006 at 17:13 UTC | |
by ikegami (Patriarch) on Aug 18, 2006 at 18:01 UTC | |
|
Re: use statement in a conditional?
by davorg (Chancellor) on Aug 18, 2006 at 13:49 UTC |