Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

un-Nifty qr OR ASCII bullet parser

by belg4mit (Prior)
on Aug 13, 2009 at 19:04 UTC ( [id://788420]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %bullets = ('*'=>'foo', '+'=>'bar', '@'=>'qux');
    
    ...
    #my $bullet= sprintf(qr/[%s]/, join('', keys %bullets));
    #Alternate form, that I was trying to make more scrutable, with added 
    +\Q
    my $bullet=  qr/[\Q@{[join '', keys %bullets]}\E]/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found