hi guys,
I have a problem calling a perl WSC thru ASP - My ASP page calls the WSC
fine, the WSC then calls Crypt::PGPSimple which then calls PGP through the
command line.
The WSC runs, but the encryption fails and I get an error message that the
file is not found - Oddly identical code produces t
> OK, HTML::Template has you create a hash whose values are used by a
> template. Construction is like this:
> $template->param(
> HOME => $ENV{HOME},
> PATH => $ENV{PATH}"
> );
> Dumb question, but how to you ADD to this hash afterwards. I hav
There has been some recent discussions at use.perl.org (in the journals)
about code review, the conclusion being that it can be very rewarding if
applied well.
The first thing to decide is the goals of the review :
is it to ensure guidelines and standards are followed (in which case some
elements
> HTML form say Aform.html submitted to Ascript.cgi which collects
information
> and passes it to another cgi script say Bscript.cgi on a different host
(if
> possible).
Use the LWP modules particularly perldoc (www.perldoc.com, select modules in
CPAN) LWP::UserAgent, this allows you to submit fo
> At 15:23 22/05/2002, Aaron Trevena wrote:
> > > Why don't we make a FAQ Auto-responder?
> > > It could scan subjects and first ten lines for
> > > a FAQ, and if it finds one, send the FAQ answer.
> > >
> > > So it wouldn't c
> Why don't we make a FAQ Auto-responder?
> It could scan subjects and first ten lines for
> a FAQ, and if it finds one, send the FAQ answer.
>
> So it wouldn't cope with the silliest questions,
> but should get most
Actually its better to include the urls to the archive and the faq in the
em
> a) Has anybody observed any **serious** performance degradation with
> PerlScript engine of AS?
>
> I haven't worked with PerlScript in ASP for two years now, but never saw
> *any* performance problems when I did... well except for DB
> connections not closing, but that was my fault.
Perlscript
Why not just use a crypt'ed cookie ?
create a cookie to hold the username, password and expiry date, encrypt them
so that they can't be fiddled with and check them in your cgi script,
redirecting to the start page if the cookie is no good or expired.
Otherwise check that the referrer is correct
> Would you please recommend an introductory level book.
> I prefer ones with alot of tutorials/projects.
> A book of projects would be great.
Randal Shwartz's 'Learning Perl' uses plenty of examples and explains perl
well
Followed by Tom Christiansen / Nathan Torkington 'Perl Cookbook'
if you a
re: emacs
> > >Also, no blinking bracket matching, doesn't understand qq{}, qw//, etc.
> >
> > What is blinking bracket matching?
> Xemacs blinks the matching bracket when your on the other match.
Xemacs also has other nifty features such as warning you of unmatched
heredoc, brackets and incompl
The thread is becoming a nuisence..
1) Some people prefer to trust adverts to their more experienced peers
2) Some people could go on for ever about how insecure windows is
3) Its not very perl related.
> By the numbers: Comparing Windows security to Linux
> http://www.techrepublic.com/article.
> Are we talking about Windows NT 4.0, Windows 2000, or IIS *.*.
All. So far every release has been vulnerable. Even the patches are sketchy.
> Have you all heard anything about win64? Do have any faith that MS is
> changing to become a more security aware company? MS is staking
> its life on
> Not really my point. My point is that the system is only secure as the
> people who run it. It is my understanding that most vulnerabilities these
> days are not caused by bugs in the systems but rather lack of
> knowledge/control of the adminstrators running the systems.
The original point w
> At 16:25 03/05/2002 +0100, Aaron Trevena wrote:
> >path/to/module/module.pm can be accessed as :
> >use path::to::module::module;
> >
> >where the module starts :
> >package path::to::module::module;
>
> And as far as I know perl only finds this if it is i
> Presuming of course that the server is set up to be secure. All of those
> OSes can have large gaping holes in their security caused both by
> admin user action and inaction.
If you were to chose a server for your bank to use would you prefer it had 5
to 10 vulnerabilities a year of which 1 or
> I need to process a file where each line contains data. Each
> line can be of variable length. I need to avoid losing any data if the
process
> of the line failed. I was thinking if I could read and then remove the
first line of
> the file, I would not affect the rest of the file if I died mi
> To get the results, do something like
> @results = `ping $ip`; # Note the backticks
Whenever you use backticks ensure any variables passed are 'safe'
you dont want somebody entering " 192.168.0.1\nrm- rf * " as an IP address!
If you want to use backticks ensure the ip address is valid:
my $s
previously..
> > Sorry, I'm not very expert in this area, but perhaps the
> > method name is case-sensitive and should be "Value" instead
> > of "value"?
According to Scott Mitchell in Designing Active Server pages ( good book if
you are a vbscript weeny who doesn't know how to program ) ADO meth
18 matches
Mail list logo