>>>>> "Pradeep" == Pradeep Sethi <[EMAIL PROTECTED]> writes:
Pradeep> /(.*?)\s*=\s*(.*)/ and $var{$1} = $2 while <FILE>; Pradeep> did u mean ? Pradeep> /(.*?)\s*=\s*(.*)/ and $var->{$1} = $2 while <FILE>; Not necessarily. The first uses %var, the second uses $var containing a hashref. Both are completely valid. -- 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! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]