Help for this page

Select Code to Download


  1. or download this
    seek $fh, $offset, SEEK_SET or die "$fn: D'Oh! $!\n";
    read $fh, my $cont, $LEN;
    seek $fh, $offset, SEEK_SET or die "$fn: D'Oh! $!\n";
    print $fh $cont ^ join '', map chr( rand 0x100 ), 1 .. $LEN;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    print $fh map chr rand 0x100, 1 .. $LEN;
    
    __END__