-----Original Message-----
From: Anirban Adhikary [mailto:anirban.adhik...@gmail.com] 
Sent: Saturday, June 20, 2009 9:26 PM
To: beginners@perl.org
Subject: Query related to PAR::Packer

>>Hi List

>I need to run some applications written entirely in perl in some systems
>where I dont have an access. Other people run this applications. Now the
>problem is that when they find any error they always open the source and
>edited it which makes things more worse.So I compiled the source using
>*perl
>Mo=Bytecode ........*  . But It has several drawbacks I often gets
>segmentation fault error while running the applications on the target
>machines, which is very difficult to rectify. Another thing is that
>B::Bytecode was removed from 5.10, because it is buggy, experimental code
>that should not be used. So I found PAR::Packer and I have installed it
>successfully in my testing machine.
>Now I have some question related to  PAR::Packer.

>Is it possible to archiving the code using pp in my source machine and run
>hat code successfully in the target machine which don't have the
>PAR::Packer module installed (and I should not be allowed to install
>PAR::Packer on target machines)

What par does is basically packs the required files or modules in a single
file. So when you can use the packed file independently (as the requirements
are already contained in file).
Say for e.g.
If you make binary than it is possible provided that the target machine
supports that binary. Refer
http://search.cpan.org/~smueller/PAR-0.992/lib/PAR/Tutorial.pod for more
details.

>Is it possible that I archived the source package in a linux machine and
>run it successfully in the target machines which can be Solaris,AIX, or
>HP-UX?

This depends on your source package. Refer 'Cross-platform Packages' from
above link.

Hope this helps.

Thanks & Regards,
Sanket Vaidya



_____________________________________________________________________ 

This e-mail message may contain proprietary, confidential or legally privileged 
information for the sole use of the person or entity to whom this message was 
originally addressed. Any review, e-transmission dissemination or other use of 
or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you have received 
this e-mail in error kindly delete this e-mail from your records. If it appears 
that this mail has been forwarded to you without proper authority, please 
notify us immediately at netad...@patni.com and delete this mail.
_____________________________________________________________________

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to