function dump(obj) {
var newwin =
window.open('
> if anyone tries this, please let me know your thoughts.
I don't think you're handling the case where a user might store this data in
a file and have plain old integers and strings:
i:5;
s:5:"a";
What does PHP serialize() do when it gets badly formatted strings?
These couple lines handle
> if anyone tries this, please let me know your thoughts.
I spent some time trying to figure out unserialize() on my own ( a lot of
time actually ) and I noticed your implimentation used this:
my @chars = split //, $data;
What if $data is some really long 50mb* string? Now @chars is a copy of
> does sombody have made some experiments with PDF documents ? I do want to
> include a gif file how does it work ?
PDFlib ( www.pdflib.com ) has a PDF_open_image_file() function that accepts
a gif,jpg,tiff, or png file.
___
Perl-Win32-Web mailing
In a php script a have a form wich is used to start a perl
script (cgi spript). How kan i pass variables from php to perl ? Can
this been done without showing users the variable(s). Need to hide the
varaibles from the users.
---
rbh
> Well, if you guys have a better idea on how to implement the 'logout',
> please share it with me.
If its a webapp odds are you have some sort of ACTION field that is
populated on every page ( i.e. ACTION=ViewRecord or ACTION=Search ). Can you
make an ACTION=LOGOUT? I've written things where I d
> Please help me. Please don't mind. The question may look simple but I am
> unable to the filename in the SaveAs Dialog Box.
http://aspn.activestate.com/ASPN/search?query=%24Bill+disposition&type=Archi
ve
http://aspn.activestate.com/ASPN/Mail/Message/468614
Attaching "$Bill" to your search que
> Does the PERL ASP module for Apache emulate an ASP engine?
ASP is a scripting host. It supports any language that will run under it.
Perlscript is just one of many lanauges that can use the ASP object model
VBScript and sever-side JavaScript being two of the other ones ). Under the
ASP model o
> use GD;
> use Image::GD::Thumbnail;
Aren't you extended the GD class? The client shouldn't have to include
it. Naming the class Image::Thumbnail would allow the freedom to use
Image::Magick for the thumbnails if GD was not installed. Image::Magick
supports a much broader range of fi
> of course, i could roll my own, but before i go to the
> trouble of writing a whole php-compatible serialize and
> deserialize module for perl, can anyone offer any help
> or suggestions on how to make PHP and Perl recognize each
> other's serialized data?
I would serialize things into a CSV st
What about NTFS permissions? The webserver may allow outside people to view
it but the file itself may not be viewable by anyone except by the person
who created it.
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailm
> I currently substitute all of the " and ' in the variable, using the
following regex:
>
> $ARTICLE =~ s/\"/\"\;/g;
> $ARTICLE =~ s/\'/\'\;/g;
I doubt text outside of your tags will have the string qq|="|. You could use
that fact to make it quick and dirty.
$ARTICLE =~ s/[^=]"/"/g;
$ARTICLE =~
> How the hell do I got off this mailing list??
>
> TIA
>
> M@
> ___
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
You get three guesses and the first two don't count.
*hint: http:
Be advised that not everyone can read HTML mail and
there is a large number of people ( myself included ) who do not like it at all.
This is what I use, I'm sure there are better
ways...
use Mail::Sender;
my $sender = new Mail::Sender {
smtp => 'mail' };
$
> Is that more efficient than this
I doubt even an inefficient small loop like this will have a drastic impact
on the rest of your program.
> 'print "$name";' different from 'print $name;' and the later is more
> efficient (I think).
Mastering Algorithms with Perl has a little footnote in the f
> Lee Goddard typed (on 26th of June):
> > Of the two, I prefer the former, as it's
> > easy to read and hence to maintain. In
> > fact, I'd make it clear by
> >
> > $html.=<<"__END_OF_HTML__";
> >
> > Put it $here
> > like so
> >
> > __END_OF_HTML__
>
> I personally prefer
> print qq|$
> I've tried looking at http://search.cpan.org but I must be looking in the
> wrong area.
Where were you looking? There is a little search box on the left side of
every page on search.cpan.org:
http://search.cpan.org/search?mode=module&query=ftp
The third link on this page has some sample code:
> I have two files say file1 and file2.
> File1 consits of records(two fields) like
Thank you for supplying sample files!
If FILE1 is not always in order:
Region1, School1
Region2, School2
Region1, School3
Then you'll need to take the print() out of that while loop and make and add
a third
> Scripts aborts, When I am using the command system ("tar -cvf test.tar
> t1.txt, t2.txt...). when same is tried from the prompt it works. I have
set
> the PATH to the executable but its not working.
You probably don't need the -v tag for verbose mode since this will be
happening in the backgrou
> XML appears to be just standard outputed code from a database. Orignally
i
> was just going to parse thru the xml like a normal text file in perl but
> then realized this could be a chance to be more elegant and learn
something
> new. Any suggestions ?
http://search.cpan.org/doc/GRANTM/XML-
package Foo;
$Response->Write("Hello World"); # wrong...
I looked in ASP.pm and they did something similiar to
package Foo;
use vars qw($Response);
$Response = $main::Response;
$Response->Write("hello world");
If I don't want to override anything then shouldn't I make $Foo::Response
and a
> Can any one help me on how to import an image (e.g.
> GIF, JPEG...etc) into a MySQL database via a web form
I believe that some databases support an field type of IMAGE. What do you
mean by 'web form'? Do you mean a URL to a file on the network or an
uploaded file? The easy way would be to crea
> I downloaded saint.pl (vulnerability checking script) and am having
trouble with the syntax.
What is saint.pl? Where did you find it?
Don't you think more people would be able to help if you would have posted a
URL for what "saint.pl" is and what it does?
> Did you make sure you added *table to the use CGI?
What does that do?
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> @array1 = (1, 2, 3); @array2 = (4, 5, 6, 7);
> AddArrays (\@array1, \@array2); # Passing the arrays by reference.
AddHash( \%hash ); # named hash
AddHash( { hello => world } ); # anonymous hash
sub AddHash {
my($hash_ref) = @_;
print keys %$hash_ref;
}
_
> I have build a large asset management system over the past two years and I
> am re-working a lot of the old code and trying to improve my speed issues as
> the amount of users increases.
I think Jenda wrote a CGI::Lite that does what you want. There is also a
CGI3.pm which is the same code as C
> $parts[2] =~ s/<.?[td|table|tr](.*)>//g;
[] is a character class, you are telling Perl to match a 't' or a 'd' or
a '|' or an 'a', etc.
$parts[2] =~ s/<.?(?:td|table|tr)(.*?)>//g;
Should fix the problem of everything being deleted. I recall there being
a HTML::TableExtract module which you co
> If you pass Request.Form(...) you get a Win32::OLE object of type
>"ASPTypeLibrary.IStringList".
> To get to the value you have to call ->Item(1) on it (I don't mind possible multiple
>values!)
$Request->Form('x')->{Item} works too sometimes.
> So now I do this :
>
> sub unref {
> forea
> my $fn = $q->param( 'firstname' );
> my $ln = $q->param( 'lastname' );
> my $adr = $q->param( 'address' );
> my $cty = $q->param( 'city' );
>
> etc... 5 or 6 more follow and then
[ snip ]
> etc... many after follow
If you wanted to make that code shorter you could do this:
my %p;
foreach my
Why in the world would you send this to -web -users -database -admin?
Your email does not pertain to _all_ of those groups. If you want to
learn about Perl and ASP, the leat you can do is search for it. There is
plenty of information already out there:
http://www.google.com/search?q=perl+asp+faq
How do you define securely? Can you securely do it from the command line
or some sort of third party package?
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> $Response->Write("Content-Type: text/html\n" ) ;
> $Response->Write( "Content-language: en\n" ) ;
> $Response->Write( "\n" ) ;
>
> to send the html headers to the users's browser.
> How can I send that without displaying it as a part of the web page?
Set the content type in
> Works for me.
I think Franz just wants to add some headers and footers.
> I want to write some individuell text to the top or bottom of
> that file.
http://www.pdflib.com
http://www.pdfzone.com
The pdfLib package has a Perl interface which is really easy to use. You
should be able to open
> Is it possible to pass Perl array to Javascript(client side) array? if so,
> how to do it ?
Another easy question that could have been answered with a search of
CPAN:
http://search.cpan.org/search?mode=module&query=javascript
___
Perl-Win32-Web mail
> Does Perl have a functional equivalent to Java's StringBuffer object??? I
> have output heading to CGI and to and email (it's a large, ugly script
that
> I'm rewriting for someone and will hopefully cleanup a bit in the process)
> interspersed amongst themselves. I already have a working solutio
> Hi all!
>
> I have problem when using "use Spreadsheet::WriteExcel". When I included
> this line in my program, it doesn't work.( show nothing when I run the
> program) so can anyone can help me to solve this problem.
>
> Thanks alot
>
> Andy Huynh
There is a syntax error on line 4,685 of
> I think i've gone brain dead, can someone remind me how to parse input
from
> a multiple select form field?
http://stein.cshl.org/WWW/software/CGI/cgi_docs.html
"
Fetching The Value(s) Of A Named Parameter
@values = $query->param('foo');
-or-
$value = $query->param('foo');
> you should be using the post method so you won't run into problems like
> that.
Normally you can't POST from an 'href'.
> Does anyone a resource for sample scrips for Win32:OLE? I'm essentially
> looking for a script that will simply open an Excel file, write to a set of
> cells, and save the file. But any kind of basic samples will do.
>
> Sounds simple enough, but I'm having problems plowing through the
> Active
> fu.directory = Server.MapPath("./attach")
.directory looks like a property
> $fu->directory = $Server->MapPath(".");
$fu->{directory} = $Server->MapPath(".");
See what Data::Dumper has to say:
use Data::Dumper
$Response->Write(''.Dumper($fu).'');
___
>
>
> And then later hard set it with something like this
> param(-name=>'mycost',-value=\"50.00\");
> And then when the server gets it, I would grab out the 50, and anyone
> looking at the source would see the 0?
When go through the trouble of putting 'mycost' on the page in the first
place?
_
> ICMP protocol error example :
>
> PerlScript Error error '80004005'
>
> (in cleanup) Bad arg length for Socket::unpack_sockaddr_in, length is
> 0, should be 16 at C:/Perl/lib/Socket.pm line 311.
I've seen this problem before. Net::Ping might have troubles under
normal CGI scripst as well. You
This topic has come several times in the past few weeks. I'd like to point
out that in addition to the things already on the list, there is a
HTML::Demoroniser module:
---
HTML::Demoroniser - correct moronic and gratuitously incompatible HTML
generated by Microsoft applications
Fixes various vio
> Hi , I would like to know if it is possible to work with perl + ASP on
Win32 ?
> If so , is it possible to use Apache .
Before posting a question, its always a good idea to look for the answer on
your own. In this case, a good strategy would have been to search for the
words "perl" and "asp":
HTML mail !=
good
> Why do pl
files work fine but not cgi files?
How do you expect IIS to know how to handle the files unless
you tell it? The .cgi probably isn't mapped to anything.
I usually do very basic tests like this
c:\inetpub\scripts>perl foo.pl name=Ron location=Home > output.html
Then load up the file and see if things went ok.
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listi
># Define the connection string
>my $prov = "Provider=Microsoft.Jet.OLEDB.4.0; ";
>my $dsourc = "Data Source=C:\\inetPub\\wwwroot\\dbfolder\\database.mdb; ";
>my $dbprog = "Jet OLEDB:Database; ";
>my $pw = "Password=password4;";
>my $dbopen = $prov . $dsourc . $dbprog . $pw
> $Response->Write(<
> honest-to-goodness heredoc
> $city
>
> EOT
Yep. My understanding was that the OP wanted something like this:
$Response->Write(
> 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
> 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
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:
> 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
> I'm working on a perl based text source code management
> system. We would like to be able to paste the entire
> contents of a text file, which might be quite large, into
> a TEXTAREA field and have it sent to the server via a POST.
Maybe that's not such a good idea. If my monitor was set to 6
> I have a pending project here at work, at this time they are
> going back and forth on what platform will be used (Sun/Solaris or NT).
> I will need to dynamically create pages depending on the results of
> a lookup to an Oracle database. I will also be making entries and
modifying
> the DB.
> M
Grrr, HTML mail.
Try sending the headers first so that the results from
die() or warn() can be displayed by the browser.
print "Content-type: text/html\n\n";
writeCgiEntry();
> $Msg = <
check the text in the body
$Response->write( "not so simple dear friend" ) ;
to demonstrate the situation
RIGHTHERE
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> Does anybody know some way of generating Macromedia's Flash movie (*.SWF)
> files with Perl?
http://slashdot.org/articles/00/12/29/1854233.shtml
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-w
> use CGI;
> my $query = new CGI;
> my $name = $query->param('name');
> print "Content-type: text/html\n\n";
> print "Name: $name";
> exit;
Setting $|=1; will turn off buffering and send output to the client as soon
as it is availible. That's usually helpful for longer scripts.
> OK, I have this
> That's write. If you have 300 users on-line, 300 instances of PERL.EXE
s/write/right/;
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
Title: RE: Technology Question
< grrr, HTML mail >
Another cross platform solution is to write COM objects
to handle things ( the whole three-tier development thingy ). I find myself
writing a single COM object from which I can make an HTML interface as well as
a stand
> Drawbacks: its cookie based.. its vbScript (not half as robust as perl)
It's not _just_ VBScript. ASP is an engine that can in theory support any
number of languages. PerlScript has been supported since 1996 I think.
VBScript is noticeable faster than PerlScript.
_
> I have been talking (lightly) with some others within our organization about
> different web technologies. I currently am a CGI.pm user and know it pretty
> well. But I am getting the impression that technologies such as JSP and ASP,
> are more efficient. In conversation, I believe I am hearing
> I have a problem concerning parameters on a form that is being submitted.
> The form has a series of values where the names are like "name1" through
> "name10".
If you make them have all the same name ( no phun intended ), you can
access them as an array:
@array = param('name');
print $arra
> I am having some sort of mental block ... but can someone point me at some
> resource that explains how to make cgi talk to individual frames of a
> multi-frame-cgi-generated web page??
Perhaps a Javascript page? It sounds like you want a child frame to
write to another child frame.
___
ppm search ImageMagick
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> The site is accessible also as http://Jenda.Krynicky.cz
> I think this other name will stay, the other may vanish since I do
> not work for McCann any more.
>
> Jenda
>
> == [EMAIL PROTECTED] == http://Jenda.McCann.cz ==
> 28th of March I'll march out of the "army"
> I'll be free so if you wan
use strict;
use Data::Dumper;
my $data = 'O{bTyp | S{WCS-STD}bUsr | S{GONZALO}bUid | S{REP.352637}sId
| A{}sNme | S{}sUrl | S{}sLbl | S{}sCok | S{}mMsg | S{Welcome to the
customer service area of our web site.}fAct | S{}fTyp | S{}fKey |
S{}fVal | S{}}';
my %hash;
foreach my $item ( split / \| /,
> This is contained on one field returned by DBI. What I'd like to do is
> take a hacket to it and just be left with:
>
> "GONZALO" and "Welcome to the customer service area of our web site."
# your $data
my($bUid,$fAct) = $data =~ m|.*S{(.+?)}bUid .* S{(.+?)}fAct |;
print "buid: $bUid\nfact:
> What are my options to maintain state through session id's using Perl. I am
http://jenda.mccann.cz/C/SessionID.txt
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
Or you could enalbe the Debug flag on the object:
$smtp = Net::SMTP->new('mailhost',
Hello => 'my.mail.domain'
Timeout => 30,
Debug => 1,
);
___
> Check out Amazon:
http://www.plover.com/~mjd/amazon.html
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> can anyone help me whith a cgi to put an attachment file in a email genareted by a
>form?
This has got to be in a FAQ somewhere.
Lucky for us, Jenda McCann wrote a module for such a thing:
http://jenda.mccann.cz/#Mail::Sender
___
Perl-Win32-Web ma
> Or is there another module that i could use?
I've very pro-ADO on Microsoft platforms.
http://www.perlmonks.org/index.pl?node_id=2626&lastnode_id=1831
Or you can search for 'perl access ado' on google.com:
http://www.google.com/search?q=ado+access+perl
http://www.google.com/search?q=micro
> In this scenario, what's the best way to pass the variables onto the second
> script? Is it best to get them as an environmental variable, or use the
> cgi module to re-build the query string? Maybe the cgi module can just
> pass $query to the next script?
I'd probably attach the values to th
Apache::ASP - Active Server Pages for Apache with mod_perl
http://search.cpan.org/doc/CHAMAS/Apache-ASP-2.09/ASP.pm
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> project called WINAWAY, a free alternativ tp "pcanywhere" looks interesting.
>
> I read a artikle in a newsgroup. but the side was not fginished yesterday !
>
> take a look
VNC has been doing that for many years:
http://www.uk.research.att.com/vnc/
_
> Unfortunately the params from the previous form do not appear in the
@params
Why would they be? If a user clicks 4 levels into your CGI script, how would
CGI know what the user entered on the first page?
___
Perl-Win32-Web mailing list
[EMAIL PROTECT
> For many parts of the site, I was planning to use perl and AnyDBM.
> But, the information in there might not be readable from an ASP script.
>
> So, my question is: is it possible to make AnyDBM portable so that
> an ASP script will be able to read it ? Could it be done with Act
> but I think the problem is not in this script, because no script gives the
> same error...
What is your Perl question?
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> I can't seem to find anything on this again.
Where did you look for it?
"Saving the Current State of a Form"
http://stein.cshl.org/WWW/software/CGI/#saving
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/lis
> 1. Is there a way to specify exactly which cookie I want rather than
> iterating through all known cookies?
$cookies{foo};
> 2. What's an easy way to parse the value string returned from my cookie
> back into the individual elements $fn, $ln, $addr, etc.
Its my understanding that cookies are
> I have this personal project.. I'd like to develop a photo gallery and
> have the content (blurbs, pics, whatever) derived from a database. This
is
> all simple and a no brainer.. now here is my question.. Does any one
have
> a better way to manage the image files?
Randal has a photo galler
> See subject. Anyone have a script for this that they're willing to share?
> I'm working on one at the moment, but I'm getting this quaint "reinventing
> the wheel" feeling while doing so...
print `tracert $host`;
___
Perl-Win32-Web mailing list
[EMAI
> 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
> Many of my scripts depend upon requiring a config file which stores common
> subroutines and global variables, applicable to more than one script. I
> add this to my script that is currently running using the:
Sounds like those are global constants. Maybe use the constant pragma in
your module
> 1) How do i open a Telnet connection to a given server, using PERL of
> course ? I need to open the connection, validate the user's login, run a
> couple of commands and then close the connection. Any ideas ?
http://search.cpan.org/search?mode=module&query=telnet
( /me wonders if people even s
> which I don't want to display it on the web page). Is there any way just
> to hide the output of the cli program?
What about not printing it?
Its difficult to answer this one since you didn't supply any code.
___
Perl-Win32-Web mailing list
[EMAIL PR
> I've written a generic little form handling function that for any given SQL
> table and a corresponding web form would
What about different types on the tables? int(), datetime, etc. ? You
have to worry about those. You might want to use some of the ASP grid
viewers out there. I'm there are a f
> The basic question is what's the ASP/PerlScript way to fetch a row of data
> into a hash the way DBI's fetchrow_hashref() does?
If you know DBI, why not use it? It sounds like the right tool for the
job in your case.
Ron Savage has a tutorial on using DBI with ADO:
http://savage.net.au/Perl-
What if you did someting like
And let the script do its things behind the scenes. These sounds like
something Randal would write a column about over at webtechniques.com
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.co
> Is there any way, ideally via the CGI headers, to return the filename so
> that the browser tries to save the file under the correct name?
http://mailarchive.activestate.com/mail/msg/perl-win32-web:192576
___
Perl-Win32-Web mailing list
[EMAIL PROTECT
> Has anyone developed any modules to work with
> Microsoft Exchange 5.5
To do what? There are numerous modules that let Perl connect to a POP3
mail server to send/recieve mail.
If it's OLE, Win32::OLE should expose the methods to do user maintence.
If not, you might be out of luck.
_
> if exists($hash{"key3"} { print "key3 exists!" }
print "key3 exists" if exists $hash{key3};
Be careful about the differences between defined() and exists() as they
pertain to hashes!
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.A
> I have a program that contains a subroutine that populates variables from
> name-value pairs passed to it from an HTML form.
Perhaps you should read "Why it's stupid to `use a variable as a variable
name'":
http://perl.plover.com/varvarname.html
> AFAIK, there's no other way around this that
I've been using build 522 for quite some time and was wondering if
anyone had any problems when they upgraded to build 623? We don't have
IE5 installed on our webserver and I don't know if I want to install a
bloated 50mb browser just so I can install a newer version of Perl.
Installing the first
> I want to pass .mdb file or a number of .mdb file as a parameters to a Perl
> program which should read all tables from .mdb and display the results as
> .xls for every table.
What do you mean 'display the results as .xls for ever table'? Do you
want the Perl CGI script to dump the binary Excel
> if ($suf eq 'gif') {
> $msg->attach(Type => 'image/gif',
> Path => "$s_dir/$nick/append/$at", Filename => $at);
> } elsif ($suf eq 'jpg') {
> $msg->attach(Type => 'image/jpeg',
> Path => "$s_dir/$nick/append/$at"
> Sometimes my normally-working scripts will produce no output at all to the
> browser. In the Perl error log, a corresponding "script produced no output"
use CGI::Carp;
You might also want to use the Tee module to capture the outout to
STDOUT to a flat file during the next few days to see if P
> read(STDIN, $query_data, $ENV{'CONTENT_LENGTH'});
>
> my $my_query = new CGI($query_data);
That's a bit odd don't you think?
my $q = new CGI;
> $segment=@get_query[0];
Grrr. $segment = $get_query[0];
> $html= $segment . ".htm";
@chars = ( "A" .. "Z", 0 .. 9 ); # Cookbook page 52
$html = "
> For instance, if I put "require" statements in the beginning of the .pl
> file, are these brought in by perl.exe when the file is first executed?
'use' statements are evaluated at compile time while 'require'
statements are evaulated at run-time.
> Can I reduce memory requirements (and increas