Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: I refuse to explain this

by Dominus (Parson)
on Apr 09, 2001 at 08:06 UTC ( #70920=note: print w/ replies, xml ) Need Help??


in reply to Re: I refuse to explain this
in thread I refuse to explain this

Says strredwolf:

The main key behind it is the use re 'eval', which allows Perl to be inside the (?{...}) considitonal regexps.
No, that is not what use re 'eval' does; I suggest you consult the manual.

The use re 'eval' is not really necessary to the program; it is only there to allow me to make the code simpler by abbreviating the regex.

Hmmm, it looks like a bit of source code and a state engine to me!
Nope, totally wrong! (Except perhaps in the trivial sense that every program is a 'state engine'.)


Comment on Re: I refuse to explain this
Re: Re: I refuse to explain this
by strredwolf (Chaplain) on Apr 09, 2001 at 08:13 UTC
    I did. But I'll agree that it's helps shorten it (sub in regexp?).

    But expanding $_ out does make it look like you're doing a virtual machine inside of the s///ex regexp. Source code (or is it VM machine code?) and a state engine, like my own obfusc.

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";

      Says strredwolf:
      But expanding $_ out does make it look like ... a state engine,
      (Shrug.) All I can do is to repeat that it isn't a state engine. In fact, I'm at something of a loss to imagine where you think the state variable is.

        $d and $q. The loop, of course, is conditional on $N.

        --
        $Stalag99{"URL"}="http://stalag99.keenspace.com";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-08-23 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls