On Friday, July 26, 2002, at 07:58 , Connie Chan wrote:
> Does there any reference to study those syntax (grammar) about Perl ?
> just like -> {} [] // || ? ..... etc. They are quite vary types of usage
> on
> different situation, and just quite confuse about that....
perldoc perl - will get you into the start of it...
3rd Edition of perl programming - is a lovely book that
goes into detail about most of the elements... the pocket
guide offers a short list of them
> And one more quick question. What are the meanings of
> "Expression" and "Block" , what are there difference ?
my simple answer is that a block denotes
{
.....
}
in any of their manifestation
an 'expression' is something that can be resolved,
my $val = "foo";
my $foo = 1 + $val;
my $bar = translate(@list);
in essence, any of the acceptable things that can
be done to 'express' something - which can get
deeply nested -
my $deep = translate( get_input($fh) );
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]