[Chicago-talk] ok im feeling a bit (lot) retarted

Randal L. Schwartz merlyn at stonehenge.com
Wed Apr 21 14:49:05 CDT 2004


>>>>> "Dooley," == Dooley, Michael <Dooley.Michael at con-way.com> writes:

Dooley,> while (<HANDLE>) {
Dooley,>         if ($. == 2) {
Dooley,>                 s/$_/Address_V2/;

Was the intent of that to be $_ = "Address_V2\n" ?
If so, I'd write it that way. :)

Dooley,>                 print "$_";
Dooley,>         }
Dooley,> }


-- 
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