John Drago > Bytes-Random > Bytes::Random

Download:
Bytes-Random-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Bytes::Random - Perl extension to generate random bytes.

SYNOPSIS ^

  use Bytes::Random;
  
  my $bytes = random_bytes( $number_of_bytes );

DESCRIPTION ^

Bytes::Random provides the random_bytes($num) function. It can be used anytime you need to generate a string of random bytes of a specific length.

EXPORT

random_bytes( $number_of_bytes )

Returns a string containing as many random bytes as was requested.

AUTHOR ^

John Drago, <jdrago_999@yahoo.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 John Drago - All Rights Reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: