Re: Differences in Windows versus Linux?
"Mr. Shawn H. Corey" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
spinningwebz2002 wrote:
> I have a small program that I wrote to just test soem of the features
> in pdf::api2 that, on windows XP with ActiveState perl and it creates
> a little pdf that uses the paragraph methods I mentioned in a
> different post to test adding new pages on the fly.
>
> Now I just finished setting up a ubuntu server (linux variant) and
> installed all the apache/mysql/php and perl 5.8.x on it. I tested the
> same program and got an error I was missing Compress:Zlib - so
> installed it and ran the same program with no errors, did exactly as
> it does on the windows system (meaning it ran with no problem) and
> created a pdf, but the pdf ends up being smaller and is not a valid
> file. Here is the code I am using, is there any reason why it would
> work in windows but not in linux?
Do you have the same version in each machine?
#!/usr/bin/perl
use strict;
use warnings;
use PDF::API2;
printf "PDF::API2 %s\nPDF::API2::Content %s\n", $PDF::API2::VERSION,
$PDF::API2::Content::VERSION;
--
Just my 0.00000002 million dollars worth,
Shawn
"For the things we have to learn before we can do them, we learn by
doing them."
Aristotle