Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Table building confusion Help Wanted

by indapa (Monk)
on Jan 16, 2002 at 03:54 UTC ( [id://139093]=note: print w/replies, xml ) Need Help??


in reply to Table building confusion Help Wanted

Using the array approach, if the data you want in your table is being read from a file you could try the following approach:
#!/apps/bin/perl -w use Data::Dumper; $table = (); while (<>) { chomp; $curr_rec = [split /\|/, $_]; push (@$table, $curr_rec); } print Dumper (\$table);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found