http://www.perlmonks.org?node_id=190363

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have the following shell code that i would like a perl translation
(platform independant) for, as the program is to be used on either *nix or NT.
I have looked in a couple of books that I have available but found nothing.

lp -c -d$Device $File

Any help from you wisest of perlographers would be kindly appreciated.

Alex.