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

Re: Escape user name and password in LWP proxy call.

by kcott (Archbishop)
on Oct 14, 2021 at 12:52 UTC ( [id://11137507]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -E 'my ($u, $p) = (q{W$X}, q{Y@Z}); say for
    + $u, $p'
    W$X
    Y@Z
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E 'my ($u, $p) = (qq{W$X}, qq{Y@Z}); say f
    +or $u, $p'
    Possible unintended interpolation of @Z in string at -e line 1.
    Global symbol "$X" requires explicit package name (did you forget to d
    +eclare "my $X"?) at -e line 1.
    Global symbol "@Z" requires explicit package name (did you forget to d
    +eclare "my @Z"?) at -e line 1.
    Execution of -e aborted due to compilation errors.
    
  3. or download this
    $ perl -Mstrict -Mwarnings -E 'use URI::Escape; my ($u, $p) = (q{W$X},
    + q{Y@Z}); say for uri_escape($u), uri_escape($p)'
    W%24X
    Y%40Z
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found