Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Ispell did it in my code with a broken pipe, anyone got a clue?

by Rhandom (Curate)
on Feb 12, 2002 at 19:46 UTC ( #144967=note: print w/replies, xml ) Need Help??


in reply to Ispell did it in my code with a broken pipe, anyone got a clue?

This doesn't answer the question (but it might) - looking at the code, $_ is used clear down through the code and even across some sub routine calls. That takes a lot of faith that nobody else is manipulating $_. Even if it doesn't fix the problem I would suggest using a named value rather than $_. Example:
Instead of:
foreach (@misses)
Use:
foreach my $miss (@misses)


my @a=qw(random brilliant braindead); print $a[rand(@a)];

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://144967]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2020-08-13 16:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (74 votes). Check out past polls.

    Notices?