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 / TIEHASH.al < prev    next >
Encoding:
Text File  |  2003-04-30  |  545 b   |  22 lines

  1. # NOTE: Derived from blib\lib\Config\Simple.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Config::Simple;
  5.  
  6. #line 1425 "blib\lib\Config\Simple.pm (autosplit into blib\lib\auto\Config\Simple\TIEHASH.al)"
  7. #------------------
  8. # tie() interface
  9. #------------------
  10.  
  11. sub TIEHASH {
  12.   my ($class, $file, $args) = @_;
  13.  
  14.   unless ( defined $file ) {
  15.     croak "Usage: tie \%config, 'Config::Simple', \$filename";
  16.   }  
  17.   return $class->new($file);
  18. }
  19.  
  20. # end of Config::Simple::TIEHASH
  21. 1;
  22.