Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Things you think you'll never use.

by redlemon (Hermit)
on Jan 21, 2005 at 15:25 UTC ( #424001=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     (??{ code })
        ...
    ...
        subexpression may match. The result of evaluation is
        considered as a regular expression and matched as if
        it were inserted instead of this construct.
    
  2. or download this
       1 while s!([BUI])(<+)\s*(.*?)\s*(??{'>' x length $2})!<$1>$3</$1>!;
    
  3. or download this
       "B<<< I<< U<bold underlined text> >> >>>"
    
  4. or download this
      <B><I><U>bold underlined text</U></I></B>
    
  5. or download this
    my $pod2html = qr/
      ([BUI])                  # start of formatting pattern
    ...
      \s*(.*?)\s*              # collect text, without border space
      (??{'>' x length($2)})   # match same number of closing braces
    /x;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://424001]
Approved by sschneid
Front-paged by thor
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-08-04 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (59 votes), past polls