$;
am 12.01.2005 09:17:36 von George Bouraswhat is the $;
Thanks.
what is the $;
Thanks.
George Bouras wrote:
> what is the $;
It's obsolete. `perldoc perlvar` says to see `perldoc perllol` instead.
-Joe
Ok I found it at the faqs, sorry, but now I do not know which way is
more memory and speed efficient !!!
--------------------------------------
my %hash;
$hash{0,0}='line_0 col_0';$hash{0,1}='line0 col_1';
$hash{1,0}='line_1 col_0';$hash{1,1}='line1 col_1';
$hash{2,0}='line_2 col_0';$hash{2,1}='line2 col_1';
print $hash{1,1};
# or
my $array=[
['line_0 col_0','line0 col_1'],
['line_1 col_0','line1 col_1'],
['line_2 col_0','line2 col_1']];
print $array->[1][1];