Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: CPAN shell - passing params for module installation

by johngg (Canon)
on Jan 18, 2007 at 10:15 UTC ( [id://595210]=note: print w/replies, xml ) Need Help??


in reply to Re^3: CPAN shell - passing params for module installation
in thread CPAN shell - passing params for module installation

I'm trying to work out how this is doing what it is doing. I don't understand the $- as I thought that had to do with lines left on a page for formats and writes. Please let me in on the secret.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^5: CPAN shell - passing params for module installation
by shmem (Chancellor) on Jan 18, 2007 at 10:38 UTC
    Correct. But you can assign to $- e.g. to acommodate the page length for your clay tablet printer 1. $- is 0 by default.

    The rest is easy - ord(R) == ord(E)+13, the other chars are offset -1 to the output (S,E,L -> T,F,M).

    German ESEL is English DONKEY, which is why I made that up in the first place. So the thingy is only acceptable with a smiley appended... ;-)

    --shmem

    1)The code that link points to is from the first edition of Programming Perl (a.k.a Pink Camel)

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
      Right, got it now! Thanks for the explanation. I might even have got the ESEL/DONKEY joke if my German school studies were not 30+ years in the past.

      Cheers,

      JohnGG

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-16 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found