Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Perl
Perl.Perl

Method Perl.Perl()->parse()


Method parse

int parse(array(string) args)
int parse(array(string) args, mapping(string:string) env)

Description

Parse a Perl script file and set up argument and environment for it. Returns zero on success, and non-zero if the parsing failed.

Parameter args

Arguments in the style of argv, i.e. with the name of the script first.

Parameter env

Environment mapping, mapping environment variable names to to their values.