in reply to Re: freaky deaky plus sign usage
in thread freaky deaky plus sign usage

ok, and how does + "get around" it? What exactly is syntactically happening? Is "ok" being added to "Mock::Basic->update(...)"

Replies are listed 'Best First'.
Re^3: freaky deaky plus sign usage
by Anonymous Monk on Jul 31, 2009 at 19:23 UTC
      The search terms above don't seem to match any node. Anyone got a clue?
        Probably he/she/it just misplaced a bracket, typing [CSJewell, I just don't ...] in place of [CSJewell], I just don't ....

      unary-plus does NOT numify. 0+ does not get called.

      - ikegami

Re^3: freaky deaky plus sign usage
by Anonymous Monk on Aug 01, 2009 at 02:58 UTC
    perl -MCGI -MTest::More -e " ok 1; ok +CGI->new, +CGI->new; ok scalar +CGI->new; ok( CGI->new ); ok CGI->new; " ok 1 ok 2 - CGI=HASH(0x1a08a30) ok 3 ok 4 Undefined subroutine CGI::ok at -e line 1 # Tests were run but no plan was declared and done_testing() was not s +een.