Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Iterated prompt handling

by vaibhav07 (Acolyte)
on May 19, 2012 at 08:54 UTC ( #971408=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Please enter Certificate: Press <Enter> when done
    -----BEGIN CERTIFICATE-----
    MIIFtjCCBJ6gAwIBAgIQIFUz8E8mut6Vrn5LtX6fujANBgkqhkiG9w0BAQUFADBi
    ...
    
    Do you want to continue entering root and/or intermediate certificates
    {y|n}: n
    
  2. or download this
    Code used : 
    my $certificate      = $opts{certificate};
    my $private_key      = $opts{'private-key'};
    ...
                    ( defined $intermediate_key ) ? $intermediate_key : 'n
    +',
            ];
    This code was effective till the response passed was 'n' for prompt 'D
    +o you want to continue entering root and/or intermediate certificates
    +', but not effective if the intermediate certificate chain is provide
    +d.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://971408]
Approved by ww
help
Chatterbox?
[usemodperl]: stop asking why, just say how
usemodperl pulls teeth...
[usemodperl]: change the world? you mean BREAK THE WEB? we will regret this once google starts pulling certs for cursing or something...
Veltro Sees open mouth and feeds troll
[Corion]: usemodperl: Naah, you're just being unreasonable. It's not hard to download https URLs, and we've shown you ways to avoid downloading at all, and ways to keep downloading via http possible. You reject both.
[choroba]: Also, try asking at IRC
[usemodperl]: corion baby you have done nothing of the sort
[usemodperl]: asking how to download from cpan with core perl via http is unreasonable???
[Corion]: usemodperl: No, asking is not unreasonable. Insisting that it must always keep working for you is unreasonable.
[Corion]: But again, you haven't explained why your users need to download, or why they need to download via http, or why you can't host the SSL-stripper yourself.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2018-06-24 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?