[BACK]Return to example1.pl CVS log [TXT][DIR] Up to [local] / palm / Palm-Keyring / examples

Diff for /palm/Palm-Keyring/examples/example1.pl between version 1.4 and 1.8

version 1.4, 2006/04/18 20:39:45 version 1.8, 2006/12/06 18:45:42
Line 1 
Line 1 
 #!/usr/bin/perl  #!/usr/bin/perl
 use strict;  use strict;
 use warnings;  use warnings;
 use diagnostics;  use diagnostics;
   
 use lib 'lib';  use lib 'lib';
 use Palm::Keyring;  use Palm::Keyring;
   
 my $pdb = new Palm::Keyring;  my $pdb = new Palm::Keyring;
   
 use YAML;  use YAML;
   
 #print Dumper $pdb  my $new_record = $pdb->append_Record();
   
 #$pdb->Load("Keys-GtkrNEW.PDB");  $new_record->{plaintext} = {
 #$pdb->Decrypt('12345');          name        => 'Test3',
 $pdb->Load("Keys-Gtkr.PDB");          account     => 'anothertestaccount',
 #$pdb->Load("k:/working/Keys-Gtkr.PDB");          password    => 'adifferentmypass',
 $pdb->Decrypt('12345');          description => 'now that really roxorZ!',
   };
 #--------------------------------------------------  
 # my $new_record = $pdb->append_Record();  $pdb->Encrypt('12345');
 #  
 # $new_record->{plaintext} = {  $pdb->Write("Keys-GtkrNEW.PDB");
 #       name        => 'Test3',  
 #       account     => 'anothertestaccount',  print Dump $pdb;
 #       password    => 'adifferentmypass',  
 #       description => 'now that really roxorZ!',  
 # };  
 #  
 #$pdb->Encrypt('12345');  
 #  
 #$pdb->Write("Keys-GtkrNEW.PDB");  
 #--------------------------------------------------  
   
 print Dump $pdb;  
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>