http://www.perlmonks.org?node_id=992133


in reply to weird begginer's problem...

Hint:

perl -e "$w=0; $w++||die" Died at -e line 1. perl -e "$w=0; ++$w||die" # no error

Replies are listed 'Best First'.
Re^2: weird begginer's problem...
by Arien0611 (Novice) on Sep 06, 2012 at 16:19 UTC
    hm, i knew it would something stupid. i m stupid. i should go and farm some cows, instead of programming. thank you for the help though guys. i appreciate it.

      I suspect that the rate of incredibly stupid mistakes doesn't actually decrease as you gain experience. We just get less incredulous as we go.

        I suspect that the quality of my stupid mistakes gets better the more I use Perl. Quantity stays the same, though. Sigh.

        ----
        I Go Back to Sleep, Now.

        OGB