Jun 20, 2009 3:56 pm
Anirban Adhikary--0016e644b95e127b3e046cc9af40
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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
that 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)
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?
Thanks & Regards
Anirban Adhikary.
--0016e644b95e127b3e046cc9af40--
Jun 23, 2009 7:11 am
Sanket Vaidya-----Original Message-----
From: Anirban Adhikary [mailto:anirban.adhikary@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.
>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)
>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?
>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 netadmin@patni.com and delete this mail.
_____________________________________________________________________
Previous Thread: Split() and trailing empties
Next Thread: CPAN won't install YAML and others
Related Forum Topics
- Simple OOPs related query.
- PAR packer Error
- Parl-Packer installation urgent help required
- Some UTF-8-related questions
- Problem related to ZGV installation
- Flock related problem
- Processing related elements in an array
- A question related to file selection
- Question related Join function
- Perl/CGI related domain name for sale...