in reply to print list, comma not working?
is pretty much the same thing asprint(EXPR), EXPR
print(EXPR); EXPR
in void context. You're missing a set of parens.
Had you checked, you would have gotten a "useless use in void context" warning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print list, comma not working?
by fzellinger (Acolyte) on Jan 12, 2010 at 16:36 UTC | |
by ikegami (Patriarch) on Jan 12, 2010 at 16:57 UTC | |
by fzellinger (Acolyte) on Jan 13, 2010 at 05:02 UTC | |
by chromatic (Archbishop) on Jan 12, 2010 at 18:44 UTC | |
by GrandFather (Saint) on Jan 12, 2010 at 20:21 UTC | |
by fzellinger (Acolyte) on Jan 13, 2010 at 04:51 UTC |