Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by radiantmatrix (Parson)
on Jun 26, 2006 at 15:56 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://557600]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found