Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: New Monks Info Page

by Odud (Pilgrim)
on Jun 11, 2001 at 15:17 UTC ( #87445=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<>) {
            $line = chomp;
            $count++ if ($line =~ /foo/);
    }
    print $count;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://87445]
help
Chatterbox?
[Lotus1]: Cosmic37 if you undef $/ in a local context to a block it won't affect the global version after the block finishes
[Lotus1]: or you can just do local $/ in a block
[erix]: cool

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-06-29 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (673 votes). Check out past polls.