Welcome to the Monastery | |
PerlMonks |
Re^2: How do you open a PDF file from a perl script in Windows?by davido (Cardinal) |
on Feb 12, 2013 at 16:00 UTC ( [id://1018400]=note: print w/replies, xml ) | Need Help?? |
I'm glad you got it working, but this line haunts me:
What that tells me is that you aren't using strict, and that you are now creating variables inside of subroutines that you are accessing outside of the subroutines. A better approach would be to let your subroutine return a value that the calling code uses to initialize $outname Dave
In Section
Seekers of Perl Wisdom
|
|