there isn't enough information to provide more feedback.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
.
Demonstrate that you're trying to solve this yourself, and we will be
happy answering any questions that come up as you're learning.
Starting points: http://learn.perl.org/, O'Reilly books, Google.com.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
ways to get access to these books, including O'Reilly's
Safari book subscription service, your favorite local or online
bookstores, and good old public libraries.
I'd have expected someone with a .gov address to be more cognizant of
such flagrant circumvention of copyright law... :-)
--
Chris
On Tue, 1 Nov 2005, Adedayo Adeyeye wrote:
my $action = param('form_action');
Try setting a default value when 'form_action' isn't specified:
my $action = param('form_action') or '';
Or set it to 0, or 'do nothing' or undef, or whatever is appropriate.
--
Chris Devers
'or' is clearer than '||' for this kind of thing, but if
PBP had a different rationale I can't remember what it was...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
admin config issue, not CGI.
--
Chris Devers
by¯LcìØL è
8
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
to be to sort
out exactly how this is all supposed to be interoperating in the first
place. Once you have a clearer sense of that, implementing the specific
components of the system should get easier for you.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
.
Is there a module which works in this way?
Yes: Expect.pm
How can I do?
Read the documentation, then write a program that uses Expect.pm.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http
to come back to the list with specific questions and code.
--
Chris Devers
ÁS¶9êN¢9
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
On Wed, 21 Sep 2005, David Dorward wrote:
XHTML 1.1 is XHTML 1.0 Strict with Ruby added.
Really?
As in the scripting language Ruby?
Weird...
--
Chris Devers
öQKÂmÝg5¾ÿ
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
of Javascript hack that works with both of them
as well as Internet Explorer, but have fun trying to maintain it.
What have you tried so far?
--
Chris Devers
ÌEÚĹ©
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org
into smaller scripts -- just as when to
start breaking things into smaller subroutines -- is largely a matter of
personal preference, based on your own personal experience with writing
and maintaining your code over time.
--
Chris Devers
5dåt²Ä»C
--
To unsubscribe, e-mail: [EMAIL PROTECTED
, depending on where it is and how your web server is set up).
I'm not sure what you mean by must be a file ... or ... normal variable
... or ... filehandle; the way you write this implies that it's one, or
the other, or the third, but that isn't necessarily the case.
--
Chris Devers
to see.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
shouldn't have to install anything extra to run it.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
-type: text/html\n\n|,
qq|HTMLHEADTITLESeneschals Report/TITLE/HEAD\n|,
qq|BODY\n|
qq|2\n|,
qq|/body/html\n|;
}
Or something like that.
--
Chris Devers
. Admittedly, that's something like 90% of web
users, but Firefox, in particular, seems to be growing fast now.
Out of curiosity, why do you need to do this? What problem are you
trying to solve ? Could you get the result you need by some way other
than figuring out remote file paths ?
--
Chris
On Thu, 7 Jul 2005, David Dorward wrote:
On Thu, Jul 07, 2005 at 11:42:29AM -0400, Chris Devers wrote:
It isn't possible. For that sort of thing you'll need something like
an ActiveX control with permission to read the user's file system. (Or
to get the user to type the path
anything exotic on the clickthrough target to
obscure things, because the frameset is already providing, for free, as
much obfuscation as you can reasonably expect to be possible. So, no
need to force all data through as POST data, no Apache trickery, etc.
--
Chris Devers
--
To unsubscribe, e
linked above provide lots of examples of
both reading writing registry keys, so there should be a method that
maps well to the kind of work that you're doing.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
, it should be possible.
Hint: on Unix, stat $filename would help you:
http://perldoc.perl.org/functions/stat.html
I don't use Windows so I can't verify that it'll behave the same way
with ActiveState/Windows, but I suspect it will work just fine.
Thank you.
You're welcome.
--
Chris
very far... :-)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
things like gethostbyaddr / gethostbyname /
getnetbyaddr / getnetbyname / etc.
All of these have perldoc -- `perldoc of gethostbyaddr` etc -- as well
as sections in all the main Perl books: _Programming Perl_, _Perl in a
Nutshell_, _Perl Cookbook_, etc.
--
Chris Devers [EMAIL PROTECTED
is this a CGI question?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
://mysite.com/pages/$1
Won't that work?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
approach to the problem...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
that are now available with PHP.
I'd be delighted to be corrected about this, but it seems like most of
the people that are working on such frameworks are using other languages
these days.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
, and only annoys people.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
server between your server that
generates the pages and the client -- both Apache and Squid can do this,
among others.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
all the special cases that come up over time.
If you just parse it at the outset, such as with HTML::SimpleLinkExtor,
then the code should be simple, robust, and useful for a long time.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
from CPAN. In this way, you should be able to
see pretty clearly where things are breaking down, and you won't be
distracted by what the browser is doing in the background, because it
won't *be* in the background.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
as
a local directory tree in Windows Explorer or Mac Finder:
http://www.webdav.org/
http://www.webdav.org/mod_dav/
* If you're hell-bent on writing something, what have you got so far?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
On Tue, 16 Nov 2004, Michael S. E. Kraus wrote:
Err... how do I clear the browser's cache?
That depends on what browser you're using!
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http
On Tue, 26 Oct 2004, Adamiec, Larry wrote:
This link may be of help to some people.
http://www.samag.com/documents/s=9408/ur0411l/
I bet it would go over even better on the CGI list :-)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
should buy them!
If you like them - you shouldn't pirate them!
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
-cgi.sourceforge.net/scripts.shtml
If the formmail you are using is not this one, it probably should be.
Download that one and read over the documentation it provides, then try
to install it and let us know -- in some detail -- if anything breaks.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL
{$key};
}
etc.
Or just
foreach $key ( sort keys %hash ) {
my $value = $hash{$key};
}
to skip the temp variable.
Make sense ?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org
the one that you're describing.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
... (hoping that it will work faster).
I don't *think* there should be a whole lot of speed difference here,
though of course the way to know that for sure is to benchmark them.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
? Or is this somehow taken care
of?
Yes, it's an issue. That's what `flock` is for.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
On Sat, 18 Sep 2004, Gunnar Hjalmarsson wrote:
Chris Devers wrote:
if you need a speed boost then the best strategies are to [a] use a
smaller subset of CGI.pm,
Does that really make a lot of difference?
That was my understanding, but I admit I haven't benchmarked it.
If only importing
://perl.apache.org/docs/1.0/guide/performance.html#Preloading_Registry_Scripts_at_Server_Startup
And for a Apache 2 / mod_perl 1.99 overview:
http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
at:
http://www.as220.org/shawn/PGP/
There are some others, but I::M is the big one by far...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
at the same time. Please do not do that.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
to learn this stuff well, mod_perl is the way to go.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
On Wed, 15 Sep 2004, hcohen2 wrote:
Chris Devers wrote:
On Wed, 15 Sep 2004, hcohen2 wrote:
However, there is a reader's review of the first edition that seems to
ring true and, moreover, is not complimentary.
...and the URL for that is... ?
Here? http
browser, stylesheets should be much easier to control than
tables ever were, and will give much better results...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
it on -- basically
anything newer than Netscape 4.7. That's good enough for me
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
such as
http;//yoursite/project/index.pl
and
http;//yoursite/project/
end up being the same thing. They should be, but test it.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org
it over time, you
can always switch to something else.
The best thing to do is just start making your site, using a template
module like HTML::Template to generate the XHTML + CSS layout, and let
the list know if you start having specific problems.
--
Chris Devers
--
To unsubscribe, e
image before reverting to making a new one. (This
amounts to caching again, but in a smarter way than the other case,
where it may be easier to just put Squid in front of your server...)
Make sense?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
of
the images sometimes not showing up -- or so I would hope...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
( $image );
exit 0;
Fleshing out these subroutines is an exercise for the reader :-)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
problem like
this, mucking around with regular expressions isn't so bad, but if you
really want to do it right, it's worth pulling in a parsing engine like
HTML::Parser or HTML::TreeBuilder or something along those lines...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED
On Thu, 9 Sep 2004, Gunnar Hjalmarsson wrote:
I can't see what this has to do with HTML parsing.
The immediate problem has nothing to do with parsing, but it seemed like
some of the suggestions given were starting to go in that direction.
Unless I was just misreading things...
--
Chris Devers
is going to be phased out. (Well ok
probably not phased out, but new tools will eventually stop supporting
it, so you'll have to use old browswers (etc) to view old documents.)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
it.
There are others, but these are the big ones.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
frameworks. If you actually,
literally need ASP support, then it is your best bet, but if not you'll
probably find much more mature software and much broader support if you
decide to go with something like Mason or Template Toolkit instead.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL
might be more appropriate. But
for the common case -- CGI scripts mod_perl modules -- something like
CGI.pm should do the job just fine.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org
scripts, and then turn
on Apache::DBI for database connection pooling. This can help a lot.
Does this help ? More questions ?
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Mr. Loh's Not Afraid to Be Naked'
by Sandra Tsing Loh
from 'This American Life: Lies
...
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Drama Bug'
by David Sedaris
from 'This American Life: Lies, Sissies, and Fiascoes'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http
, with control /or a record of who is
doing what in the database.
He wants some kind of database connection persistance.
He is not trying to set environment variables in Apache.
It isn't obvious how setting variables like this gets him anywhere near
the stated requirements of the system.
--
Chris
use of Access (or a
similar desktop database) is an inappropriate kludge that should not be
used for anything meant to be taken seriously.
From what I've heard, Microsoft makes it very easy for people to upgrade
databases from Access to SQL Server; you should please consider this.
--
Chris
, or maybe drive it with OLE or something.
Please show the list what you have so far, and what you're getting stuck
on, including any relevant Perl code and whatever information you have
about this .exe file. With that available, we might be able to help.
--
Chris Devers [EMAIL PROTECTED]
http
On Tue, 24 Aug 2004, Siegfried Heintze wrote:
How do I get the browser's IP address in a server side cgi perl script?
It's in $ENV{'REMOTE_ADDR'}.
Poke at your %ENV hash for other possibly useful values.
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Charles
it is)
This may help narrow things down.
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Bright Sunny South'
by Alison Krauss Union Station
from 'New Favorite'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
) and some other IP
address which can be reached on the local network possibly anywhere.
So -- you're not using your server's real address, and nothing else
you've done is going to get around this :-)
Make sense?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
set up a challenge / response spam filter on the
email address that he's receiving list mail from.
These messages can be safely ignored.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org
, either
by prefixing that line or the whole script with 'sudo' (and using your
account password when prompted) or by placing this in root's crontab.
--
Chris Devers[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
70 matches
Mail list logo