Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Do you know where your variables are?
 
PerlMonks  

Re: I refuse to explain this

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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'.)

Replies are listed 'Best First'.
Re: Re: I refuse to explain this
by strredwolf (Chaplain) on Apr 09, 2001 at 04: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://70920]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.