Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl advocacy

by btrott (Parson)
on Jun 16, 2001 at 00:58 UTC ( [id://88935]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my @elements = {'A'..'Z', 0 .. 9 };
        my $i = 0;
        my @regkey;
        while($i++ < 15) { push(@regkey,$elements[rand($#elements + 1)]); 
    +}
        print @regkey, "\n";
    
  2. or download this
     HASH(0x80e4a90)HASH(0x80e4a90)HASH(0x80e4a90)HASH(0x80e4a90)HASH(0x80
    +e4a90)HASH(0x80e4a90)HASH(0x80e4a90)HASH(0x80e4a90)HASH(0x80e4a90)HAS
    +H(0x80e4a90)HASH(0x80e4a90)HASH(0x80e4a90)HASH(0x80e4a90)HASH(0x80e4a
    +90)HASH(0x80e4a90)
    
  3. or download this
        my @elements = ('A'..'Z', 0..9);
        my $regkey = join '', map { $elements[ rand @elements ] } 1..15;
    
  4. or download this
        > However, the re engine in Perl is far more sophisticated and
        > capable of better matches
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found