in reply to Re^3: Averages in bowling
in thread Averages in bowling

Try perl -e "until (0) {print qq(a\n)}" and then smack yourself when you notice the two errors that caused you to have problems. :-P

Replies are listed 'Best First'.
Re^5: Averages in bowling
by ikegami (Patriarch) on Mar 21, 2006 at 15:40 UTC

    doh!! *bonks self with a bible*

    I only see one error. I think you're refering to the missing closing quote which is not an error.

      Are you sure that the missing close quote is not an error? I don't have Windows to test on, but Linux, missing either a closing ' or " causes the command line to spill onto the next line, which means that you type in your command and nothing happens.
        Yes, it's optional in Windows. I never close my quotes when using perl -e in Windows.
        >perl -e "print 'foo' foo >
Re^5: Averages in bowling
by graq (Curate) on Mar 21, 2006 at 08:19 UTC
    Is this your new brand of KinkyPerl? :P

    [Graq]