Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Best way to print variables in regex

by Mordan (Initiate)
on Jan 20, 2014 at 22:54 UTC ( #1071391=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       $NUM  = get_exp('cd');
        $GER  = get_exp('vbg');
    ...
        $QUOT = get_exp('ppr');
        $SEN  = get_exp('pp');
        $WORD = get_exp('\p{IsWord}+');
    
  2. or download this
    #!/usr/bin/env perl
    use Lingua::EN::Tagger 
    ...
        my $tagged = $postagger->add_tags($text);
    
        print $tagged, "\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-12-07 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?