![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl config file Help | Harikrishna | Shell Programming and Scripting | 6 | 05-20-2008 01:51 AM |
| Perl config file Help | Harikrishna | Shell Programming and Scripting | 5 | 05-19-2008 01:40 AM |
| Extracting data from text file based on configuration set in config file | suparnbector | Shell Programming and Scripting | 3 | 08-09-2007 11:25 PM |
| using config file | mape | Shell Programming and Scripting | 1 | 09-06-2006 10:37 PM |
| Perl CGI to access / edit "root" owned config files | WIntellect | Shell Programming and Scripting | 1 | 04-23-2003 12:48 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Perl config file Help
Hi
In My config file i have 12.122.12.111:2000 A host and a port number. To read the config file i have written in a perl script like this my %config; open my $config, '<','config' or die "Failed to read file :$!"; Its running fine in HP-UX but showing error in solaris box. error is : Too many arguments for open at client.pl line 5, near ""config" ;" Execution of simpleclient.pl aborted due to compilation errors. Plz replyy... Regards Harikrishna |
| Forum Sponsor | ||
|
|
|
|||
|
Thanks era.. its works
|
|||
| Google The UNIX and Linux Forums |