Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: $. - smarter than you might think

by radiantmatrix (Parson)
on Jun 26, 2006 at 15:56 UTC ( #557600=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    local $SIG{__DIE__} = sub {
      my ($d) = ( $_[0] =~ /line (\d+)\.$/ );
    ...
        last if $. > ($d+$context);  #move on once we've finished context
      }
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://557600]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2021-05-17 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (158 votes). Check out past polls.

    Notices?