Help for this page

Select Code to Download


  1. or download this
        sub Open {
            my( $file, $opts )= @_;
            foreach $key (  %$opts  ) {
    ...
        }
    
        Open( "file", { ReadOnly=>1, Retries=>2 } );
    
  2. or download this
        sub Open {
            my $opts= UNIVERSAL::isa( $_[-1], "HASH" )
                ? pop(@_) : {};
    ...
        Open( "file" );
        Open( "file", { Exclusive=> 1 } );
        Open( "file", "w", 0666, { Locked=>1 } );
    
  3. or download this
        Create( Name=>"This", Users=>'fred','bob','joe' );
  4. or download this
        Create( Name=>"This", Users=>['fred','bob','joe'] );