Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: An Elegance Question

by stephen (Priest)
on Apr 13, 2000 at 22:35 UTC ( #7503=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub give_me_a
    {
    ...
       chomp($word);
       $word;
    }
    
  2. or download this
    The quick $adj1 fox ${verb1}ed over the lazy $noun1.
    
  3. or download this
    my %word_list = ();
    
    ...
        $line =~ s/\[(noun|verb|adj)([1-3])\]/$word_list{$1}{$2}/g;
        print STDOUT $line;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2018-07-16 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (333 votes). Check out past polls.

    Notices?