"Purcell, Scott" wrote:
> I am trying to use the 'escape' function in CGI pm, and have Steins book,
> but the example shows the OO way ot using it.
> eg.
> $escaped = CGI->escape("some line with spaces");
>
> But I do not use the module in the OO fashion,
> How do I do this procedurally?
>
> cou
> my $in = `cmd /C /tools/FDFReadParse /tmp/fdf$$`;
>
> $in SHOULD contain the output from the FDFReadParse program
I'm assuming you've tried:
my $in = `/tools/FDFReadParse /tmp/fdf\$\$`;
> This works fine running as a .plx and works fine from the
> command line, but does NOT work if running as
Hello,
I am trying to use the 'escape' function in CGI pm, and have Steins book,
but the example shows the OO way ot using it.
eg.
$escaped = CGI->escape("some line with spaces");
But I do not use the module in the OO fashion,
How do I do this procedurally?
could some help me with this?
Thanks
Well, you have a choice:
if you declare them with "our" in the main program
then you get to them in other packages via
Main:: or ::, if you declare them
with "our" in the require'd file, then you reference
them in the main program with ::, where
is the name of the package that the require'd
file
my is what it implies - it declares a variable local to that scope.
What you want is "our" which works the same as "my" but declares
the variable to be in global scope, it replaces the Perl 5.5 method
of "use vars qw()"
-Peter
> -Original Message-
> From: Roland Corbet [mailto:[EMAIL PR
Kristofer Wolff wrote:
> Hi all,
>
> I am looking for the file "sys/soundcard.ph".
>
> I am trying to install the MIDI-REALTIME module and if I
> start the demo-app, it shows:
> Can't locate sys/soundcard.ph in @INC,
This has nothing to do with the web. Try Perl-Win32-Users or the ActivePerl
l
Hi all,
I am looking for the file "sys/soundcard.ph".
I am trying to install the MIDI-REALTIME module and if I start the demo-app,
it shows:
Can't locate sys/soundcard.ph in @INC,
where can i find it ? What is it ? any help ?
greetz,
ven
___
Perl-