Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Table building confusion Help Wanted

by indapa (Monk)
on Jan 16, 2002 at 03:54 UTC ( #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
Node Status?
node history
Node Type: note [id://139093]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2019-12-10 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?