$;

$;

am 12.01.2005 09:17:36 von George Bouras

what is the $;
Thanks.

Re: $;

am 12.01.2005 10:25:25 von Joe Smith

George Bouras wrote:
> what is the $;

It's obsolete. `perldoc perlvar` says to see `perldoc perllol` instead.
-Joe

Re: $; hmmm , do not know its better

am 12.01.2005 10:45:41 von George Bouras

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];