M
Mark Galecki
Hello,
I am new to Perl. The Perl FAQ, referenced in this newsgroup, says
"only simple scalar variables, not expressions or subscripts into
hashes or arrays, can be used with built-ins like print"
Where is this explained in the Camel book? Or (equivalent question)
Why not?
(background: I have been trying to do
print $A[0] "foo";
and that would not even compile, where
$a = $A[0]; print $a "foo";
works fine, and also
close $A[0];
works. So I just don't get it, why not, and I want to see this
explained in the Camel book - can't find it there so far...).
thank you
Mark Galeck
I am new to Perl. The Perl FAQ, referenced in this newsgroup, says
"only simple scalar variables, not expressions or subscripts into
hashes or arrays, can be used with built-ins like print"
Where is this explained in the Camel book? Or (equivalent question)
Why not?
(background: I have been trying to do
print $A[0] "foo";
and that would not even compile, where
$a = $A[0]; print $a "foo";
works fine, and also
close $A[0];
works. So I just don't get it, why not, and I want to see this
explained in the Camel book - can't find it there so far...).
thank you
Mark Galeck