[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Script works with debugger but .....



-----BEGIN PGP SIGNED MESSAGE-----

>> The code is fine (works flawlessly in perl 4 on a Sun), but I agree
>> that it exhibits the problem you describe under MacPerl 5.05r1m.
>> Actually, it looks like it works correctly the first time, but if you
>> run it again without restarting MacPerl, then only the prompt string
>> is printed, no matter what you type in response.
>>
>> Tom
>
>YES! I saw this same behavior last night! I thought it was me! I know
>it doesn't have anything to do with the <STDIN> because I wan't using
>that. :)
>
>My code was more like:
>
>$astring = "hello";
>$astring =~ /^h/;
>print $astring;
>
>It worked once, then wouldn't print anything until I quit and
>restarted MacPerl. :(
>
Okay.  This is really weird now.  I've seen where two people besides
myself have had this problem and another ran the code on both the 68k
and ppc and didn't have a problem.

For anyone else who has seen this problem, I'd like to gather the
scripts you saw it with (or just run the one I had the problem with
and see if it happens).  Along with the scripts, I'd like to know
what version of MacPerl you're using, what your machine's hw/sw
configuration is, and any other pertinent details you can think
of.  I will collect the scripts and machine configurations and
summarize them.  Maybe some common thread will appear that will
help solve the problem.

Jim Manley
jmanley@metronet.com
http://www.metronet.com/~jmanley
Finger for PGP Public Key



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMQxBlyvYMV4IyPatAQEGcgQArDv+TgDp+DY6g660PjJoeMRCln/ZESjE
xerefO5dIYfBFVQlzJZwKjQ1YR3FqPpkmXVpH9zOgrkQQTpOplO8zk+v/seKefZn
mDHxFXJoJ5elWLgkNvl7K+VFRKt1XwioJS02y1QEtPkJUkH0bnyJ4q+iDaWwF/H5
DPUhbH+UgWI=
=aNdv
-----END PGP SIGNATURE-----