in reply to Re: Printing Array with quote and comma
in thread Printing Array with quote and comma

This doesn't work according to spec, you're missing the single quotes round each value.

It also refuses to run in a windows command shell...

Can't find string terminator "'" anywhere before EOF at -e line 1.
---
my name's not Keith, and I'm not reasonable.

Replies are listed 'Best First'.
Re^3: Printing Array with quote and comma
by gargle (Chaplain) on Oct 05, 2005 at 11:39 UTC

    Hi,

    well, in linux and cygwin on win 2000 (cmd.exe & bash) it does work...

    Are you sure you copied the complete line?

    --
    if ( 1 ) { $postman->ring() for (1..2); }