Hi all! happy passover! i've been wondering and could not find anyone who could explain to me what is the difference between \$var to *var... consider the following: *$x=1;* *$z=\$x;* *$y=*x;* *print "$y\n$z\n";* would print: **main::x* *SCALAR(0x1951ac8)*
but if we:* print "$$y\n$$z\n";* the output would be: *1* *1* so, why use 1 against the other? what does it mean that the pointer is to the class and not to the memory space of the variable? Ronen
_______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
