FYI. I tried the code from Stocks, Perl & Gambling Game without errors. My setup was:

This is perl, v5.8.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Binary build 802 provided by ActiveState Corp. http://www.ActiveState. +com Built 00:54:02 Nov 8 2002 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge. P:\test>perl58 -c -MUsed stock.pl8 d:/Perl/lib/AutoLoader.pm : 5.59 d:/Perl/lib/Carp.pm : 1.01 d:/Perl/lib/Config.pm : N/A d:/Perl/lib/Cwd.pm : 2.06 d:/Perl/lib/DynaLoader.pm : 1.04 d:/Perl/lib/Exporter.pm : 5.566 d:/Perl/lib/Exporter/Heavy.pm : 5.566 d:/Perl/lib/Fcntl.pm : 1.04 d:/Perl/lib/File/Spec.pm : 0.83 d:/Perl/lib/File/Spec/Unix.pm : N/A d:/Perl/lib/File/Spec/Win32.pm : N/A d:/Perl/lib/FileHandle.pm : 2.01 d:/Perl/lib/IO.pm : 1.20 d:/Perl/lib/IO/File.pm : 1.09 d:/Perl/lib/IO/Handle.pm : 1.21 d:/Perl/lib/IO/Seekable.pm : 1.08 d:/Perl/lib/POSIX.pm : 1.05 d:/Perl/lib/SelectSaver.pm : 1.00 d:/Perl/lib/Symbol.pm : 1.04 d:/Perl/lib/Time/Local.pm : 1.04 d:/Perl/lib/XSLoader.pm : 0.01 d:/Perl/lib/auto/POSIX/autosplit.ix : N/A d:/Perl/lib/auto/POSIX/load_imports.al : N/A d:/Perl/lib/base.pm : 1.03 d:/Perl/lib/constant.pm : 1.04 d:/Perl/lib/integer.pm : 1.00 d:/Perl/lib/overload.pm : 1.00 d:/Perl/lib/strict.pm : 1.02 d:/Perl/lib/vars.pm : 1.01 d:/Perl/lib/warnings.pm : 1.00 d:/Perl/lib/warnings/register.pm : 1.00 d:/Perl/site/lib/GD.pm : 2.07 * d:/Perl/site/lib/GD/Graph.pm : 1.43 * d:/Perl/site/lib/GD/Graph/Data.pm : N/A d:/Perl/site/lib/GD/Graph/Error.pm : N/A d:/Perl/site/lib/GD/Graph/axestype.pm : N/A d:/Perl/site/lib/GD/Graph/colour.pm : N/A d:/Perl/site/lib/GD/Graph/lines.pm : N/A d:/Perl/site/lib/GD/Graph/utils.pm : N/A d:/Perl/site/lib/GD/Text.pm : 0.86 * d:/Perl/site/lib/GD/Text/Align.pm : N/A d:/Perl/site/lib/HTTP/Date.pm : 1.44 d:/Perl/site/lib/HTTP/Headers.pm : 1.43 d:/Perl/site/lib/HTTP/Message.pm : 1.25 d:/Perl/site/lib/HTTP/Request.pm : 1.30 d:/Perl/site/lib/HTTP/Response.pm : 1.36 d:/Perl/site/lib/HTTP/Status.pm : 1.26 d:/Perl/site/lib/LWP.pm : 5.65 d:/Perl/site/lib/LWP/Debug.pm : N/A d:/Perl/site/lib/LWP/MemberMixin.pm : N/A d:/Perl/site/lib/LWP/Protocol.pm : 1.39 d:/Perl/site/lib/LWP/UserAgent.pm : 2.003 d:/Perl/site/lib/URI.pm : 1.19 d:/Perl/site/lib/URI/Escape.pm : 3.20 d:/Perl/site/lib/Used.pm : 0.01 stock.pl8 syntax OK

The modules I've marked (*) are the most lightly candidates for being at a different level I think.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller


In reply to Re: Active State Perl 5.8 Application Error by BrowserUk
in thread Active State Perl 5.8 Application Error by djbiv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.