i know that i should use that module... but i nead an example how read text file and convert it in pdf adding also some images and background to each pdf pages. | [reply] |
| [reply] |
hi, again..
here is my little script.. every time i tried to run it, seems that is not able to read input file. Is there something that i missed in my script below ?
thanks
lorenzo
alcatel@alexiim-as1:~> ./lorenzo.pl /home/alcatel/.scripts/table.dbdm1
Could not open : No such file or directory
alcatel@alexiim-as1:~>
#!/usr/bin/perl
use PDF::Create;
open(F, "<$input") or die "Could not open $input: $!\n";
while (<F>) {
chomp;
print "$_ \n"; #shows you what we have read
}
close F;
| [reply] |