ubject: [Perl-unix-users] portions of strings
>
>
> Hi,
>
> 1. I need to read a configuration file of name/value
> pairs and be able to
> retrieve 'values of names'
>
> An eg. format of configuration file is
>
> DIR=d:\test
> ACTION=BUY
> ERROR=
===
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 4:22 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] portions of strings
Hi,
1. I need to read a configuration file of name/value pairs and be able to
retrieve 'val
TED]
To: [EMAIL PROTECTED]
cc:
Subject: [Perl-unix-users] portions of strings
Hi,
1. I need to read a configuration file of name/value pairs and be able to
retrieve 'values of names'
An eg. format of configuration file is
DIR=d:\test
ACTION=BUY
ERROR=2345
ACTION=SELL
I want t
Hi,
1. I need to read a configuration file of name/value pairs and be able to
retrieve 'values of names'
An eg. format of configuration file is
DIR=d:\test
ACTION=BUY
ERROR=2345
ACTION=SELL
I want to write a subroutine to retrive the value d:\test with an input
string 'DIR' say
eg. get_val