in reply to ActivePerl 5.8 breaks PPM scripts?

What is the exact error message?

The code you provided is missing a colon. Is that a transcription error?

Replies are listed 'Best First'.
Re: Re: ActivePerl 5.8 breaks PPM scripts?
by Roger (Parson) on Dec 02, 2003 at 00:55 UTC
    I have checked his install_win.pl script, which has exactly the problem chromatic described - just a typo:
    do_ppm("Date-Calc"); ... sub do_ppm { my $what = shift; print "Installing $what...\n"; PPM:InstallPackage("package"=>$what); print "...installed.\n"; }
Re: Re: ActivePerl 5.8 breaks PPM scripts?
by bcrowell2 (Friar) on Dec 02, 2003 at 00:55 UTC
    The code you provided is missing a colon. Is that a transcription error?

    D'oh! Now that's really strange -- my actual script only has a single colon, and yet I've run it on Windows using ActivePerl, and it always worked. Weird! Thanks for the sharp eyes! So actually, it's possible that ActivePerl 5.6 just didn't care about the syntax error, while 5.8 did.

    What is the exact error message?
    Unfortunately I don't have a Windows machine, so I'm just basing this on a user's bug report. He said something nonspecific about "undefined or uninitialized values."

    I guess I'd better beg or borrow access to a Windows machine so I can test whether the :: is really the whole issue. Thanks for the sharp eyes, chromatic!