Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    my %db;
    tie (%db,'DB_File',"mydb.db",O_RDONLY) or die "tie : $!";
    untie %db;
    
  2. or download this
    main::(t.pl:9): tie (%db,'DB_File',"movies.db",O_RDONLY) or die "tie :
    + $!";
      DB<1> s
    ...
      DB<1> s
    tie :  at t.pl line 9, <IN> line 14.
    Debugged program terminated.  Use q to quit or R to restart,