Re: CGI.pm Escape question

2001-02-02 Thread Tim Hammerquist
"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

Re: Using backtick(``) from .pl and .plx

2001-02-02 Thread Ron Grabowski
> 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

CGI.pm Escape question

2001-02-02 Thread Purcell, Scott
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

RE: Using "my" with "require" files

2001-02-02 Thread Peter Vogel
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

RE: Using "my" with "require" files

2001-02-02 Thread Peter Vogel
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

Re: MIDI and Soundcard **looking for a file**

2001-02-02 Thread Philip Newton
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

MIDI and Soundcard **looking for a file**

2001-02-02 Thread Kristofer Wolff
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-