Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Need a better way to count input lines

by hv (Prior)
on May 07, 2004 at 16:15 UTC ( [id://351509]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            ($lname, $fname) = split(",");
            $fname =~ s/^\s+(.+?)\W*$/$1/;
    
  2. or download this
      ($lname, $fname) = split /,\s*/, $_, 2;
      $fname =~ s/\W+$//;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found