in reply to Re: (8)Exec format error: when running the script on Linux
in thread (8)Exec format error: when running the script on Linux
the code broke when I put in the following parts:
and this function: <code> sub GrabParams{ my ( $paramName, $paramValue); foreach $paramName ($q->param) { $valueHash{$paramName}; foreach $paramValue ($q->param( $paramName )) { $valueHash{ $paramName } = pack 'U0A*', $paramValue; } } } <code> all though it works on my windows machine.print header( "application/pdf" ); use constant mm => 25.4/72; use constant in => 1/72; use constant pt => 1; sub setImage; sub newText; sub newTextRight; sub checkCurrency; sub GrabParams; my $q = new CGI; my %valueHash; GrabParams();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: (8)Exec format error: when running the script on Linux
by andyford (Curate) on Jan 19, 2007 at 20:16 UTC | |
Re^3: (8)Exec format error: when running the script on Linux
by andyford (Curate) on Jan 19, 2007 at 18:53 UTC | |
by Fletch (Bishop) on Jan 19, 2007 at 19:30 UTC |
In Section
Seekers of Perl Wisdom