Hi Monks,

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

#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, ); ...
...

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

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 is displyed on PDF in the table

Can any help body help me out

Thanks Madhi


In reply to perl pp packging problem by madhi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.