in reply to Re^3: my Scope Pop Quiz
in thread my Scope Pop Quiz
Seems to be printing a warning for me. The original code didn't include "use warnings" in it, so I added some and the warning expected did appear.$ perl -we 'use strict; my $rv = 42 for (1); print $rv,$/' Use of uninitialized value in print at -e line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: my Scope Pop Quiz
by ikegami (Patriarch) on Apr 09, 2005 at 14:26 UTC |