Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Perl can do it, take 1 (sentence generation)

by blokhead (Monsignor)
on Jun 17, 2005 at 15:45 UTC ( #467774=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open my $fh, "<", "hard-coded-filename";
    # instead of: open my $fh "<hard-coded-filename"
    
    system qw[somecommand -o -p -q]; # hard-coded arguments
    # instead of: system "somecommand -o -p -q"
    
  2. or download this
    join "|", map quotemeta, sort { length $b <=> length $a } keys %dict;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2020-05-25 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (146 votes). Check out past polls.

    Notices?