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

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

by blakem (Monsignor)
on Oct 24, 2001 at 22:25 UTC ( #121220=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1: my $pattern = join('|',(keys %sufdata));
    2: if ($name =~ s/($pattern)$/$sufdata{$1}/o) {
    ...
    4:   return;
    5: }
    6: print " no rule apply -> $name\n";
    
  2. or download this
    my $pattern = join('|',(keys %sufdata));
    
  3. or download this
    if ($name =~ s/($pattern)$/$sufdata{$1}/o) {
    
  4. or download this
    if ($name =~ s/(a|s|k|ar|ic|ec|ek|er|vec)$/$sufdata{$1}/o) {
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (16)
As of 2014-12-19 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (91 votes), past polls