Type man pgp on the command line to see the documentation of the version installed on your system. Then read man chown and man chmod until you understand what the commands do. Unless you fully understand them there no point in trying to convert it.
There are several modules on CPAN that interfaces with PGP.
In reply to Re: Convert shell to perl
by andreas1234567
in thread Convert shell to perl
by sago
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |