>>>>> "Gunnar" == Gunnar Hjalmarsson <[EMAIL PROTECTED]> writes:

Gunnar>         my ($comp) = /([^,]*,[^,]*,[^,]*)/;
Gunnar>         $Llist{$comp} = $_;

These lines scare me.  What happens if the regex fails?

And if you never expect it to fail, at least add a "die", to prove
me wrong. :)

-- 
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]
http://learn.perl.org/


Reply via email to