in reply to Re^2: printing Hash
in thread printing Hash

You can't put two "modifiers" in a single statement. That's what you're trying to do, and that's what perlsyn says you can't do — unfortunately.
Any simple statement may optionally be followed by a SINGLE modifier, just before the terminating semicolon (or block ending).
I didn't even need to stress the word "single" myself, it's written like that in the docs.

Replies are listed 'Best First'.
Re^4: printing Hash
by perlbeginner10 (Acolyte) on Mar 26, 2006 at 02:59 UTC
    Thanks man,
    Is it possible to put if statement somewhere before or after the print statement?

    Thanks