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

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



> 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. :(

-jon

Jon S. Stevens         yanni@clearink.com
ClearInk WebMagus      http://www.clearink.com/
finger pgp@sparc.clearink.com for pgp pub key
What gets us into trouble is not what we don't know.
It's what we know for sure that just ain't so.
 - Yogi Berra