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

Re: What are multiple $_[0] =~ operations doing?

by ambs (Pilgrim)
on Apr 01, 2005 at 09:39 UTC ( #444126=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $_[0] =~ s/%(HTTP_HOST|REMOTE_ADDR|REMOTE_PORT|REMOTE_USER)%/handleEnv
    +Variable($1)/ge;
    
  2. or download this
    $_[0] =~ s/%([A-Z_]+)%/handleEnvVariable($1)/ge;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2021-01-22 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?