Re: capture and save a web page - 3

2001-04-03 Thread Ron Grabowski
> Yes, that works for the web page > but not for a heredoc wrapper. Like I said in my first email, heredocs cannot interpolate methods,subroutines, or functions. The Write() method of the $Response object will not be handeling as expected in a heredoc. I usually do this: my $city = $Request->For

capture and save a web page - 3

2001-04-03 Thread Jim Doyle
<%= %> tags can only contain a single variable. This works too: <% # perl code here $Response->Write( $Request->Form('city')->{Item} ); %> Yes, that works for the web page but not for a heredoc wrapper. Jim Doyle ___ Perl-Win32-Web mailing list [

Re: capture and save a web page - 2

2001-04-03 Thread Ron Grabowski
> but Active State still substitutes the name of the function represented by > <%= , namely > $Response->write($Request->Form( 'City' )->{Item} ); > The suggestion looked to be just what I wanted, but I'm still stuck. <%= %> tags can only contain a single variable. This works too: <% # perl

capture and save a web page - 2

2001-04-03 Thread Jim Doyle
Ron Grabowski suggested the use of <%= %> City: <%= $Request->Form('city')->{Item} %> but Active State still substitutes the name of the function represented by <%= , namely $Response->write($Request->Form( 'City' )->{Item} ); The suggestion looked to be just what I wanted, but I'm sti

Re: capture and save a web page

2001-04-03 Thread Ron Grabowski
Jim Doyle wrote: > > Using CGI in a script written in Perl > $Msg = < City: <% > $Response->write($Request->Form('city')) ; %> > MYHEREDOC > > the corresponding outputs are Win32::OLE=HASH(0x2e854a8)->writeblock(34); write() is a subroutine and subroutines are not interpolated in variables:

capture and save a web page

2001-04-03 Thread Jim Doyle
Using CGI in a script written in Perl #!perl -w use Mail::Sender ; use CGI qw/:standard/ ; my $q = new CGI ; $q->import_names('Q'); $Msg = < City: $Q::city MYHEREDOC each one ofprint $Msg; print TFILE $Msg; $sender->Send( $Msg ); outputs City: New York whereas when using PerlScri

Re: Cookie CGI.pm Help..

2001-04-03 Thread Ron Grabowski
> can anyone see anything wrong with this code? It's causing a blank page > (with no errors) when i uncomment it.. Where is $q coming from? If its a 'new CGI;' object then you are probably doing something wrong. The docs for HTTP::Cookie state: use CGI qw/:standard/; use CGI::Cookie; -name

Cookie CGI.pm Help..

2001-04-03 Thread Gray, Josh
can anyone see anything wrong with this code? It's causing a blank page (with no errors) when i uncomment it.. my $cookie = $q->cookie( -name=> "proj_num", -value => $proj_num, -path=> "/", -expires => "+1h",

(no subject)

2001-04-03 Thread Kristofer Wolff
does somebody ever graped a shutcast stream ? I want to save a mp3 stream of a shutcast radio, but i don't know how i conect the server ! any hints ? thanx ven ___ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman