LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2009, 11:44 AM   #1
madhi
Member
 
Registered: May 2008
Posts: 31

Rep: Reputation: 15
perl pp util problem


Hi,
I am using pp util to create binary by issuing
pp -B -p -o ex ex.pl

In my code I use PDF::API2 and PDF::Table modules which will write data in PDF.

#data to write
my $data =[
["Name ", "$name ", ],
["Age", "$name ", ],
];

# table creation
$pdftable->table(
$pdf,
$page,
$data,
x => 150,
w => 500,
start_y => 400,
next_y => 750,
start_h => 700,
next_h => 720,
font => $pdf->corefont('Helvetica'),
font_size => 11,
padding => 5, # cell padding
padding_top => 5, # top cell padding, overides padding
padding_right => 5, # right cell padding, overides padding
padding_left => 5, # left cell padding, overides padding
padding_bottom => 5, # bottom padding, overides -padding
border => 1,
cell_props => $cell_props, # see section CELL PROPERTIES
column_props => $col_props,
);

Running ‘perl ex.pl’ I can get the desired output in PDF file
After packaging using pp util if I run ‘./ex’ only Name and Age is displayed and no value for $name, $age in PDF as table
Can any help body help me out

Thanks,
Madhi

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem while trying to configure util-linux. Marko Jin Linux From Scratch 1 06-08-2008 03:45 PM
mount problem with util-linux-2.12a Fonk Linux - Software 6 05-27-2004 08:38 AM
LFS 5.0 with Kernel 2.6.5 -> util-linux 2.12a SEVERE PROBLEM ParticleHunter Linux From Scratch 1 04-13-2004 04:24 PM
Problem compiling util-linux buboleck Slackware 0 12-21-2003 06:41 AM
Problem installing util-linux-2.10o rdaves@earthlink.net Linux - Newbie 1 05-29-2001 04:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration