-
-
03 Apr 2011 16:22:46 UTC
- Distribution: PAR-WebStart
- Module version: 0.19
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (0 / 64 / 0)
- Kwalitee
Bus factor: 1- 19.05% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (23.54KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Archive::Zip
- File::Which
- LWP
- Module::Signature
- PAR
- PAR::Packer
- XML::SAX::ExpatXS
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
PAR::WebStart - Perl implementation of Java's WebStart
SYNOPSIS
my $file = 'hello.pnlp'; my $ws = PAR::WebStart->new(file => $file); $ws->fetch_pars() or die $ws->{ERROR}; my $tmpdir = $ws->{tmpdir}; chdir($tmpdir) or die qq{Cannot chdir to "$tmpdir": $!}); my @args = @{$ws->run_command()}; die qq{Failed to get WebStart args: $ws->{ERROR}}) unless (@args); system(@args) == 0 or die qq{Execution of system(@args) failed: $?};
DESCRIPTION
This a Perl version of Java's WebStart technology; see http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/overview.html for details.
PAR-WebStart is a helper application associated with a browser. When a user clicks on a link that points to a PNLP [PAR Network Launch Protocol] launch file (a special XML file), it causes the browser to launch PAR-WebStart, which then automatically downloads, caches, and runs the specified PAR-based application.
SEE ALSO
PAR::WebStart::PNLP, for details of the
PNLP
file. Some utilities used here are described at PAR::WebStart::Util. Making a suitablepar
archive for use here is described in make_par. perlws describes how to associatePNLP
files with the appropriate application to use.COPYRIGHT
Copyright, 2005, by Randy Kobes <r.kobes@uwinnipeg.ca>. This software is distributed under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html.
CURRENT MAINTAINER
Kenichi Ishigaki <ishigaki@cpan.org>
Module Install Instructions
To install PAR::WebStart, copy and paste the appropriate command in to your terminal.
cpanm PAR::WebStart
perl -MCPAN -e shell install PAR::WebStart
For more information on module installation, please visit the detailed CPAN module installation guide.