Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Code Generating Scripts - Long Post

by Ovid (Cardinal)
on Jun 08, 2001 at 05:21 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found