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

(yakko: URL handler tweaks) Re: Perl/Tk Chatterbox Client

by yakko (Friar)
on Feb 04, 2001 at 04:16 UTC ( #56262=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use URI::Escape; # escape funky chars out of URLs
    
  2. or download this
    ...
        else                            { $url = $perlmonksURL      . $nod
    +e; }
        if ($^O =~ /MSWin32/i) {
    ...
    
  3. or download this
        # escape URL to keep netscape and/or the shell from choking
        # " " is also unsafe (causes "Doc contains no data"
        $url=~s/+/%2B/g; # real "+" is preserved
        $url=~s/\s/+/g; # get rid of whitespace, not just " "
        $url=uri_escape($url,"\',");
    
  4. or download this
    ...
        eval '
    ...
                $url =~ s/\s/+/g;
            if ($pid == 0) {
    ...
    
  5. or download this
        $url=uri_escape($url," \',+");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://56262]
help
Chatterbox?
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-11-18 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?