kulls has asked for the wisdom of the Perl Monks concerning the following question:
Greetings,
Can anyone please correct me , whether following block is valid,acceptable.I have tested the real snippets which is working fine . Any alternate is there ??
use constant PATH => 'XX/XDC/'; my $change=PATH."raja"; require("$change.pm") || die "$!"; $change=~ s/\//\:\:/g; $change->new();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Require - Module inclusion
by ikegami (Patriarch) on Mar 16, 2007 at 07:02 UTC | |
Re: Require - Module inclusion
by qsl (Scribe) on Mar 16, 2007 at 06:28 UTC | |
Re: Require - Module inclusion
by siva kumar (Pilgrim) on Mar 16, 2007 at 07:06 UTC | |
by Anonymous Monk on Mar 16, 2007 at 08:27 UTC | |
by kulls (Hermit) on Mar 16, 2007 at 11:42 UTC | |
by agianni (Hermit) on Mar 16, 2007 at 14:48 UTC | |
Re: Require - Module inclusion
by pgor (Beadle) on Mar 16, 2007 at 20:59 UTC | |
Re: Require - Module inclusion
by valdez (Monsignor) on Mar 18, 2007 at 09:54 UTC |
Back to
Seekers of Perl Wisdom