Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

RFC: Is there a better way to use Text::Balanced?

by Lady_Aleena (Priest)
on Nov 13, 2014 at 03:49 UTC ( [id://1107051]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    A<a string>
    ABBR<a string>
    ...
    SUP<a string>
    TT<a string>
    VAR<a string>
    
  2. or download this
    A<link|href="url">
    I<italic text|style="color:blue">
    
  3. or download this
    I<A<link|href="url">|style="color:blue">
    
  4. or download this
    package Base::HTML::Inline;
    use strict;
    ...
    }
    
    1;
    
  5. or download this
    my $text = 'Anyone who watches the Syfy channel knows that on Monday n
    +ights they aired three television series I<A<EurSUP<e>ka|href="Movies
    +_by_series.pl?series=EWA#EUReKA">|class="title">, I<A<Warehouse 13|hr
    +ef="Movies_by_series.pl?series=EWA#Warehouse_13">>, and I<A<Alphas|hr
    +ef="Movies_by_series.pl?series=EWA#Alphas">>. Some might not be aware
    + that these three series have formed a crossover cosmology which I ca
    +ll A<EWA|href="Movies_by_series.pl?series=EWA"> <!-- This is a long s
    +tring. -->';
    
  6. or download this
    $VAR1 = [
              'Anyone who watches the Syfy channel knows that on Monday ni
    +ghts they aired three television series I',
    ...
              '<EWA|href="Movies_by_series.pl?series=EWA">',
              '.'
            ];
    
  7. or download this
    sub fancy_splice { 
      my ($amount, @in_list) = @_;
    ...
      }
      return $list;
    }
    
  8. or download this
    $VAR1 = [
              [
    ...
                '.'
              ]
            ];
    
  9. or download this
    Anyone who watches the Syfy channel knows that on Monday nights they a
    +ired three television series <i class="title"><a href="Movies_by_seri
    +es.pl?series=EWA#EUReKA">Eur<sup>e</sup>ka</a></i>, <i><a href="Movie
    +s_by_series.pl?series=EWA#Warehouse_13">Warehouse 13</a></i>, and <i>
    +<a href="Movies_by_series.pl?series=EWA#Alphas">Alphas</a></i>. Some 
    +might not be aware that these three series have formed a crossover co
    +smology which I call <a href="Movies_by_series.pl?series=EWA">EWA</a>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (8)
As of 2024-04-23 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found