Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Another flatfile thingy

by BBQ (Curate)
on Aug 04, 2000 at 08:56 UTC ( [id://26138]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub OpenFF {
    
    ...
        }
        return(%hash);
    }
    
  2. or download this
    foo.txt
    -------
    ID    NAME1    NAME2    AGE
    ...
    3    peter    pan    62
    4    madre    theresa    108
    5    banana    split    2
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    
    ...
    foreach (1..5) {
        print "$foo{'NAME2'}{$_}\n";
    }
    
  4. or download this
    The keys are:
    NAME1    NAME2    ID    AGE
    Row 3 is:
    ...
    pan
    theresa
    split
    

Log In?
Username:
Password:

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

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

    No recent polls found