Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

(dkubb) Re: (2) Random Text: There's got to be an easier way

by dkubb (Deacon)
on Jun 03, 2001 at 23:28 UTC ( #85360=note: print w/replies, xml ) Need Help??


in reply to Random Text: There's got to be an easier way

Here's another way to generate an 8 character string, containing characters in the ranges 2-9 and a-z, using the CPAN module String::Random:

#!/usr/bin/perl -w use strict; use String::Random; my $string_random = String::Random->new; print $string_random->randregex('[a-z2-9]' x 8);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2022-12-05 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?