|Pathologically Eclectic Rubbish Lister|
Re: What is the difference between a Statement and an Expression?by azatoth (Curate)
|on Aug 02, 2001 at 10:32 UTC||Need Help??|
Seems confusing, doesn't it?
IMO, a statement is usually something like
Meaning part of your code that evaluates an expression, or EXPR. In this example, the EXPR is $this == 1, and the if statement evaluates it to return a certain value and perform a function based on the outcome.
It seems to me you are just beginning your journey in the world of Perl, and would do well to invest in a book - perhaps Learning Perl.
In the simplest possible terms :
Azatoth a.k.a Captain WhiplashMake Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?