Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by skazat (Chaplain)
on Jan 18, 2007 at 09:14 UTC ( #595202=note: print w/replies, xml ) Need Help??


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

OK, so you do that command, to open up a shell, *within* the cpan shell, manually install it with the paramater --perl_only *and* any other parameters I set in the cpan shell -

That's not obvious AT ALL, but I appreciate the pointers. Maybe next time, post, not anonymously and perhaps a bit more friendly? I'm a friendly guy, this is a friendly place.

 

-justin simoni
skazat me

  • Comment on Re^2: CPAN shell - passing params for module installation

Replies are listed 'Best First'.
Re^3: CPAN shell - passing params for module installation
by shmem (Chancellor) on Jan 18, 2007 at 09:51 UTC
    Maybe next time, post, not anonymously and perhaps a bit more friendly?
    like this perhaps?
    perl -le 'print map{pack c,($-++?1:13)+ord}split//,"ESEL\c_:,("'

    ;-)

    --shmem

    update: the Anonymous Monk wasn't me.

    _($_=" "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}
      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

        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}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2022-05-18 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?