Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
On executing the code it is giving me error saying that "Error:File not present" Please let me know what am I doing wrong here. Thanks, Rapunzeluse Config::IniFiles; my $INI_FILE_PATH = "//machine_ip/folder in which file is present/tes +t.ini"; if (!(-e "$INI_FILE_PATH" )) { print STDERR "Error:File not present"; } my $cfgObject = new Config::IniFiles( -file => $INI_FILE_PATH ); my $configSpecPath = $cfgObject->val('SECTION", "PARAMETER");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: not able to read remote file from linux machine
by ikegami (Patriarch) on Nov 10, 2008 at 09:25 UTC | |
by jwkrahn (Abbot) on Nov 10, 2008 at 09:47 UTC | |
by Anonymous Monk on Nov 10, 2008 at 10:04 UTC | |
by almut (Canon) on Nov 10, 2008 at 10:21 UTC | |
by ikegami (Patriarch) on Nov 10, 2008 at 10:42 UTC | |
by Anonymous Monk on Nov 11, 2008 at 11:51 UTC | |
by ikegami (Patriarch) on Nov 11, 2008 at 20:09 UTC |