you don't give an OS, under Linux, both of these work.
system "acroread poe.pdf &"; # or (needs error checking) if (fork) { print "bye$/" } else { system acroread => "poe.pdf" }
In reply to Re: Viewing a PDF file from a Perl program
by zengargoyle
in thread Viewing a PDF file from a Perl program
by perlgrl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |