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

Dooley, Michael Dooley.Michael at con-way.com
Wed Apr 21 14:05:46 CDT 2004

while (<HANDLE>) {
        if ($. == 2) {
                print "$_";

Address_V1||FromAddr||||315 Benjamin Lane||||Boise||ID||USA||83704

Address_V2||FromAddr||||315 Benjamin Lane||||Boise||ID||USA||83704

It is what I wanted but I just cant see why it is doing it.
I mean why is it not substitueing the whole line w/ just "Address_V2"?
I didn't tell it to keep the rest of the line contents. Heck I didn't
even specify what it should match. but it understood to swap out
Address_V1 with Address_V2 and continue to print out the full line.

More information about the Chicago-talk mailing list