in reply to Re: for loop
in thread for loop

open my $file => "<", $ipfile or die "Open: $!";

I recognize the open above, but am curious why you're using the => instead of the comma. I realize they are synonymous. I was just curious why you chose that form over:

open my $file, '<', $ipfile or die "Open: $!";

Charles K. Clarkson

Curiosity was framed. Ignorance killed the cat.

Replies are listed 'Best First'.
Re: for loop
by Abigail (Deacon) on Jun 22, 2001 at 11:55 UTC
    To make the first argument stand out more, visually separating it from the other arguments. I do that a lot, with functions like push, substr, sprintf, flock, etc.

    -- Abigail