Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: perl/gtk2 simplelist

by The Mad Hatter (Priest)
on Dec 06, 2004 at 21:19 UTC ( #412758=note: print w/replies, xml ) Need Help??


in reply to Re^2: perl/gtk2 simplelist
in thread perl/gtk2 simplelist

(Minor nit: it's not a command. It's accessing an array reference. Read up on Perl data structures.)

$slist->{data} is an array reference of other array references (the "rows" in the list) each item of which is a piece of data (the "columns" in each row). Fiddle about with this:

for my $row (@{$slist->{data}}) { print "Row:\n"; for my $col (@{$row}) { print " $col\n"; } }
or use Data::Dumper to visualize the data structure in a more Perlish way:
use Data::Dumper; print Dumper($slist->{data}), "\n";

(Untested code.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://412758]
help
Chatterbox?
[choroba]: Alma
[erix]: "may I eat your soul?"
[LanX]: hey I was told yesterday that "Alma Ata" means father of the apple (ex capital of Kazakhstan) ... so alma is Turkish
[Discipulus]: good point: alms ~charity I made a varronian etymology, sorry, from Alma ~soul
[erix]: alms, aalmoes, almosen from greek eleēmosúnē
[Discipulus]: Almosen is Elemosina in Eatalian
[erix]: yeah, you mediteraaneans are one big family :)
[Discipulus]: greece had to copyrigth etymologies to fill the debt..
[erix]: good no-nonsense american approach to these soft european practices: "Upon entering the Almshouses in Connecticut, patients were whipped up to 10 times"
Discipulus should have..

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-11-23 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?