Encrypt files : Shell « System Functions « Perl






Encrypt files

      

    $CryptFile = "crypt.out";

    open(OUT,"| crypt > $CryptFile") || die "Can't run crypt\n";

    while(<>) {
        print OUT;
    }
    close(OUT);

   
    
    
    
    
    
  








Related examples in the same category

1.Shell command: cat file
2.Shell command: dir
3.Shell command: uptime
4.Call external command