in reply to generating random blocks of data...
This will do it... it's pretty random just prints out anywhere from 8 to 16k worth of random characters... from @array. If you have any further constraints for the type of data let us know.#!/usr/bin/perl my $size=int(rand(8192)+8192); my @array=(a..z,A..Z,0..9); while($size--){ print $array[rand(@array)]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: generating random blocks of data...
by Anonymous Monk on Feb 25, 2000 at 04:15 UTC | |
by coolmichael (Deacon) on Apr 24, 2001 at 09:48 UTC | |
|
Re: RE: generating random blocks of data...
by meonkeys (Chaplain) on Nov 08, 2001 at 10:18 UTC |