Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Drop in regex replacements?

by Joost (Canon)
on Sep 09, 2002 at 15:07 UTC ( [id://196295]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %replaces = (
      email => sub { "<a href=mailto:'$_[0]'>$_[1]</a>" },
    ...
      $attr ||= $content;
      return $replaces{$tag}->($attr,$content);
    }
    
  2. or download this
    -- 
    Joost       downtime n. The period during which a system
                is error-free and immune from user input.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-26 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found