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)]; }
In reply to RE: generating random blocks of data...
by vroom
in thread generating random blocks of data...
by alan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |