Daniel Ruoso wrote:
TIMTOWTDI ;)

The objective of the blog was more about the learning + teaching experience than anything else.


http://sial.org/pbot/37075


 % perl rpn.pl "2 2 +"
Semicolon seems to be missing at rpn.pl line 2.
String found where operator expected at rpn.pl line 13, near "where '+'"
        (Do you need to predeclare where?)
Array found where operator expected at rpn.pl line 14, near "] "
        (Missing operator before  ?)
Scalar found where operator expected at rpn.pl line 14, near "@($a"
        (Missing operator before $a?)
String found where operator expected at rpn.pl line 17, near "where '-'"
        (Do you need to predeclare where?)
Array found where operator expected at rpn.pl line 18, near "] "
        (Missing operator before  ?)
Scalar found where operator expected at rpn.pl line 18, near "@($a"
        (Missing operator before $a?)
String found where operator expected at rpn.pl line 21, near "where '*'"
        (Do you need to predeclare where?)
Array found where operator expected at rpn.pl line 22, near "*] "
        (Missing operator before  ?)
Scalar found where operator expected at rpn.pl line 22, near "@($a"
        (Missing operator before $a?)
Semicolon seems to be missing at rpn.pl line 24.
String found where operator expected at rpn.pl line 25, near "where '/'"
        (Do you need to predeclare where?)
Semicolon seems to be missing at rpn.pl line 28.
String found where operator expected at rpn.pl line 30, near "fail 'Error parsing expression near '"
        (Do you need to predeclare fail?)
Array found where operator expected at rpn.pl line 33, near "] "
        (Missing operator before  ?)
Bareword found where operator expected at rpn.pl line 33, near "@*ARGS"
        (Missing operator before ARGS?)
Operator or semicolon missing before *ARGS at rpn.pl line 33.
Ambiguous use of * resolved as operator * at rpn.pl line 33.
syntax error at rpn.pl line 1, near "\."
Missing right curly or square bracket at rpn.pl line 34, at end of line
Execution of rpn.pl aborted due to compilation errors.

Reply via email to