Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Code Generating Scripts - Long Post

by Ovid (Cardinal)
on Jun 08, 2001 at 05:21 UTC ( #86815=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    require 5.004;
    ...
        my %seen;
        grep { ! $seen{ $_ }++ } @_;
    }
    
  2. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
    
    # submit values: why bother?
    my ( $_submit )    = ( $__submit =~ /^(why\ bother\?)$/ );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2023-01-28 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?