how to define ths variable

2004-04-14 Thread Romain Groleau
Hi, Me again, I'd like to define a variable like $rslotnXnY where X and Y are alos variable, I tried like this but it doesn't work: $rslotn."$X"."n".$Y Thank you very much, R. Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på adressen http://se.docs.yahoo.com/travel/index.html

RE: I don't get it ... array

2004-04-14 Thread Romain Groleau
no sorry I have it my code, I forgot it when I wrote the mail... it must be something else! --- "Bradley A. Brown" <[EMAIL PROTECTED]> skrev: > > > >my node_l; > > This should be "my @node_l". > Bradley > > > > -- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-m

I don't get it ... array

2004-04-14 Thread Romain Groleau
Hi! here is a piece of my code: sub n_list { my($a)[EMAIL PROTECTED]; ...sql query... my $sth=$dbh->prepare($sql); $sth->execute(); my node_l; while(my @ary=$sth->fetchrow_array()) { push @node_l,[EMAIL PROTECTED]; } return [EMAIL PROTECTED]; sub rnode_list { my ($a)[EMAIL PROTECTED]; my

Solve equations ...

2004-04-09 Thread Romain Groleau
Hi, I would like to solve a system of equations for example a system 6x6 with perl. But I really don't know how to do it. First is it possible and then if yes how? Thank you, Romain Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på adressen http://se.docs.yahoo.com/travel/index

Problem with storing data in an array

2004-04-07 Thread Romain Groleau
Hi, my sql query is select a,b and the code to store the results in stach is : my @stach; while( my @ary=$sth->fetchrow_array()) { push @stach, [EMAIL PROTECTED] ; } and this doesn't work if I look at @stach there are only ARRAY(0x81cff60) in the two columns of @stach. Can you help me plz