Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: andy pondering Re: Re: Re: Re: JAPH-ing Genetically

by Anonymous Monk
on May 23, 2001 at 18:19 UTC ( #82564=note: print w/replies, xml ) Need Help??

in reply to andy pondering Re: Re: Re: Re: JAPH-ing Genetically
in thread JAPH-ing Genetically

p is not a syntax error (test it) . Or do you mean a string which is a valid program and contains the chars "syntax error"? Then you have misunderstood. I meant "syntax error" in $@ after eval

Replies are listed 'Best First'.
Re: Re: andy pondering Re: Re: Re: Re: JAPH-ing Genetically
by andye (Curate) on May 23, 2001 at 18:30 UTC
    I meant 'the probability of a syntax error'. Andy.
      Not so large. The DWIM in perl deciphers a good part of junk to things no one has dreamed of. There are many warnings. A variable can have a junk name. The possibilities are endless. You could split your string and use the half(third...)that doesn't contain the error. Or how many parts contain an error if the string is cut haphazardly(=1/FITNESS).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2021-10-26 16:05 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (90 votes). Check out past polls.