in reply to Re^3: using perl installed in another computer
in thread using perl installed in another computer
If you have a windows box handy, try the following:
or On a unix system, perl would complain loudly that it "can't find Strict.pm in @INC". Windows will quietly load strict.pm instead of Strict.pm, and then mysteriously fail to catch a minor typo.use Strict; # use strict; my $val = 5000; $va1++; # no "Global symbol..." error here print $va1;
Another variation:
Of course, you probably already know this, but I hope this keeps someone else from being tripped up by it.use lwp::simple; # not LWP::Simple getprint 'http://yahoo.com'; # (Do you need to predeclare getprint?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: using perl installed in another computer
by Tanktalus (Canon) on Mar 31, 2005 at 22:21 UTC |