Re: perl compilation issue - using global variable

2008-11-21 Thread ashish nainwal
I am using perlcc to compile perl script On Thu, Nov 20, 2008 at 8:25 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Thu, Nov 20, 2008 at 00:05, ashish nainwal <[EMAIL PROTECTED]> > wrote: > > Thanks for the info. I will be using my perl script for AIX but I am not > > able to find a supporting

Re: perl compilation issue - using global variable

2008-11-20 Thread Chas. Owens
On Fri, Nov 21, 2008 at 01:55, ashish nainwal <[EMAIL PROTECTED]> wrote: > I am using perlcc to compile perl script Yeah, that is a bad idea. from http://search.cpan.org/~nwclark/perl-5.8.8/utils/perlcc.PL: The code generated in this way is not guaranteed to work. The whole codegen suite (perlcc

Re: perl compilation issue - using global variable

2008-11-20 Thread Chas. Owens
On Thu, Nov 20, 2008 at 00:05, ashish nainwal <[EMAIL PROTECTED]> wrote: > do u have any such doc..please provide it to me! > > On Thu, Nov 20, 2008 at 10:35 AM, ashish nainwal > <[EMAIL PROTECTED]>wrote: > >> Thanks for the info. I will be using my perl script for AIX but I am not >> able to find

Re: perl compilation issue - using global variable

2008-11-20 Thread Chas. Owens
On Thu, Nov 20, 2008 at 00:05, ashish nainwal <[EMAIL PROTECTED]> wrote: > Thanks for the info. I will be using my perl script for AIX but I am not > able to find a supporting IBM official doc which says that AIX comes with > perl by default. snip What are you using to create the binary? PAR::Pack

Re: perl compilation issue - using global variable

2008-11-20 Thread ashish nainwal
Thanks for the info. I will be using my perl script for AIX but I am not able to find a supporting IBM official doc which says that AIX comes with perl by default. On Thu, Nov 20, 2008 at 10:32 AM, Mr. Shawn H. Corey <[EMAIL PROTECTED]>wrote: > On Thu, 2008-11-20 at 10:23 +0530, ashish nainwal wr

Re: perl compilation issue - using global variable

2008-11-20 Thread ashish nainwal
do u have any such doc..please provide it to me! On Thu, Nov 20, 2008 at 10:35 AM, ashish nainwal <[EMAIL PROTECTED]>wrote: > Thanks for the info. I will be using my perl script for AIX but I am not > able to find a supporting IBM official doc which says that AIX comes with > perl by default. > >

Re: perl compilation issue - using global variable

2008-11-20 Thread ashish nainwal
I want to compile a perl script because I want to run it on systems which dont have perl installed. Does creating an executable solve this purpose? If yes, then how can I do that? On Wed, Nov 19, 2008 at 10:38 PM, Mr. Shawn H. Corey <[EMAIL PROTECTED]>wrote: > On Wed, 2008-11-19 at 04:03 -0800, a

Re: perl compilation issue - using global variable

2008-11-19 Thread Mr. Shawn H. Corey
On Thu, 2008-11-20 at 10:23 +0530, ashish nainwal wrote: > I want to compile a perl script because I want to run it on systems > which > dont have perl installed. > Does creating an executable solve this purpose? If yes, then how can I > do > that? All versions of Linux, BSD and UNIX come with Per

Re: perl compilation issue - using global variable

2008-11-19 Thread Mr. Shawn H. Corey
On Wed, 2008-11-19 at 04:03 -0800, ashish wrote: > Can someone please tell me how to compile a perl script which is > calling global variables and then how should the executable be used? > There is no need to compile a Perl script. To run it, call it with perl: perl ftp.pl Or you can make it

perl compilation issue - using global variable

2008-11-19 Thread ashish
Hi Can someone please tell me how to compile a perl script which is calling global variables and then how should the executable be used? I have created a AIX shell script (tool.sh) that parses a couple of files to export few global variables and then shows the end result. Now i call these variabl