Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Re:{2} Getting impossible things right (behaviour of keys)

by demerphq (Chancellor)
on Oct 24, 2001 at 14:45 UTC ( #121071=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $regex=join '|', map {substr $_,2}
                        sort {$a cmp $b}
                        map {pack "SA*",length($_),quotemeta($_)} keys %su
    +fdata;
    
  2. or download this
    my $regex=join '|', map {substr $_,2} 
                        sort
                        map {pack "SA*",length($_),quotemeta($_)} keys %su
    +fdata;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://121071]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-11-22 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?