[Chicago-talk] Announcing the new Tech Meetings!

Randal L. Schwartz merlyn at stonehenge.com
Fri Oct 24 21:13:08 CDT 2003


>>>>> "Andy" == Andy Lester <andy at petdance.com> writes:

Andy> my $assume =~ /(.{3})(.)(.+)/;
Andy> print "You make a $1 out of $2 and $3.\n";

Don't *assume* the match matches.

NEVER NEVER NEVER use $1 without checking the success of the match.

Andy> :-)

Back at ya!


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <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!



More information about the Chicago-talk mailing list