On 10/08/06, Earle Martin <perl at downlode.org> wrote: > earle at buick:~$ perl -ew 'use strict; my $foo; BEGIN { $foo = 1; }; print > "$foo\n"' You're executing a single character program here, "w". (with a long argument in @ARGV, that happens to look like perl code) use -we instead of -ew.