in reply to Re^4: Conditional question
in thread Conditional question

But Perl does not:

C:\Projekte>type tmp.pl #!/usr/bin/perl -w use strict; my $foo; print $foo __END__ C:\Projekte>perl tmp.pl Use of uninitialized value in print at tmp.pl line 5.

Replies are listed 'Best First'.
Re^6: Conditional question
by goibhniu (Hermit) on Oct 19, 2007 at 21:01 UTC

    Your example behaves the same on my system as well. Based on my experience in multi-threaded win32::console, though, it seems there is some difference between -w and use warnings;. Is use warnings; the same as perl -W (capital W)? or something?


    I humbly seek wisdom.