Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Testing a string for a range of characters

by chipmunk (Parson)
on Jan 24, 2001 at 21:53 UTC ( [id://54059]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    
    ...
        'ex_n'  => sub { exists $tran_types{$char_n} },
    });
    
  2. or download this
    Benchmark: running co_Y, co_nA, co_nZ, co_nl, ex_Y, ex_n, re_Y, re_n, 
    +each for at least 15 CPU seconds...
          co_Y: 18 wallclock secs (14.95 usr +  0.05 sys = 15.00 CPU) @ 26
    +6935.00/s (n=4004025)
    ...
    co_nl 720798/s  256%  196%  175%  170%  103%    1%    --  -16%
    ex_n  862264/s  326%  254%  228%  223%  143%   21%   20%    --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-18 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found