in reply to Re^3: blank lines up to a point
in thread blank lines up to a point

$. is stored per-filehandle, and automatically refers to the last input file. Any of readline, tell, seek, sysseek, or eof will change the last input file.

You could just use:

/\S/ .. my $false
instead.

Replies are listed 'Best First'.
Re^5: blank lines up to a point
by SpanishInquisition (Pilgrim) on Sep 15, 2004 at 19:04 UTC
    Can any operator that inspires this much confusion be a GoodThing (TM)?

    Don't answer that. It's a rhetorical question.