Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

parsing data in a file

by pinnacle (Acolyte)
on Nov 02, 2010 at 14:08 UTC ( [id://868994]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1 #!/usr/bin/perl -w
      2 
    ...
     34 Lori Gortz: 327–832–5728: 3465 Mirlo Street, Peabody, MA 34756: 10
    +/2/65: 35200
     35 Barbara Kerz: 385–57 3 –8326: 83 2 Ponce Drive, Gary, IN 83756: 12
    +/15/46: 268500
    
  2. or download this
    
    :~/pbe/chap8$ ./exer1.pl 
    ...
    Use of uninitialized value $name in split at ./exer1.pl line 19, <DATA
    +> line 15.
    Use of uninitialized value $lname in pattern match (m//) at ./exer1.pl
    + line 20, <DATA> line 15.
    

Log In?
Username:
Password:

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

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

    No recent polls found