>>>>> "Pradeep" == Pradeep Sethi <[EMAIL PROTECTED]> writes:

Pradeep> I am confused, I thought if in first case we declar var as hash, then we do
Pradeep> my %var;

Pradeep> and then later :

Pradeep>   /(.*?)\s*=\s*(.*)/ and $$var{$1} = $2 while <FILE>;

No, that's if $var is a scalar.  If you have %var, you want $var{$1}.
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to