home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / perl / devrandom.pm < prev    next >
Encoding:
Perl POD Document  |  2003-01-08  |  489 b   |  22 lines

  1. #!/usr/bin/perl -sw
  2. ##
  3. ##
  4. ##
  5. ## Copyright (c) 2001, Vipul Ved Prakash.  All rights reserved.
  6. ## This code is free software; you can redistribute it and/or modify
  7. ## it under the same terms as Perl itself.
  8. ##
  9. ## $Id: devrandom.pm,v 1.2 2001/06/22 18:16:29 vipul Exp $
  10.  
  11. package Crypt::Random::Provider::devrandom; 
  12. use strict;
  13. use lib qw(lib);
  14. use Crypt::Random::Provider::File;
  15. use vars qw(@ISA);
  16. @ISA = qw(Crypt::Random::Provider::File);
  17.  
  18. sub _defaultsource { return "/dev/random" } 
  19.  
  20. 1;
  21.  
  22.