Hi all,
I'm sure I'm just being stupid here but I can't see where:
I have an array of hash references that I'm trying to sort by one of the
key/value pairs in the hashes (see code below).
I get various errors, the current one being:
Can't coerce array into hash at
/web/secure.miswebdesign.com.o
Hi all,
I'm sure I'm just being stupid here but I can't see where:
I have an array of hash references that I'm trying to sort by one of the
key/value pairs in the hashes (see code below).
I get various errors, the current one being:
Can't coerce array into hash at
/web/secure.miswebdesign.com.o
I have a problem with Net::SMTP running a Win32 server (groan).
It works fine from the command line but when I try it through cgi I get:
Net::SMTP: Bad protocol 'tcp' at...
All help greatly appreciated :)
Cheers,
Nigel
Managing Director
MIS Web Design
http://www.miswebdesign.com/
Administrato
003 04:58
> To: 'Nigel Peck - MIS Web Design'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: IIS Log File Conversion
>
>
>
>
> > -----Original Message-
> > From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, Septem
Does anyone have a code snippet or a module for converting the IIS log file format to
NCSA Common?
Cheers,
Nigel
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: zsdc [mailto:[EMAIL PROTECTED]
> Sent: 30 August 2003 18:16
> To: Nigel Peck - MIS Web Design
> Cc: [EMAIL PROTECTED]
> Subject: Re: or operator
>
>
> Nigel Peck - MIS Web Design wrote:
>
> > In Perl can I say:
> >
> > if this = that or that or tha
In Perl can I say:
if this = that or that or that
instead of saying:
if this = that or this = that or this = that
Cheers,
Nigel
Managing Director
MIS Web Design
http://www.miswebdesign.com/
Administrator
AccessifyForum.com
http://www.accessifyforum.com/
--
To unsubscribe, e-mail: [EMAIL PR
Can someone please point me to the right module for getting the name of a specified
day.
e.g.
I say 'year:2003 month:5 day:23'
I get 'Friday'
Thanks
Nigel
MIS Web Design
http://www.miswebdesign.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Thanks all :)
> -Original Message-
> From: Kristofer Hoch [mailto:[EMAIL PROTECTED]
> Sent: 17 July 2003 23:09
> To: [EMAIL PROTECTED]
> Subject: Re: Script's Name
>
>
>
> --- Nigel Peck - MIS Web Design <[EMAIL PROTECTED]> wrote:
> > Can so
Can someone please remind a forgetful idiot how to get the name of the script being
run (the file itself)?
Cheers,
Nigel
MIS Web Design
http://www.miswebdesign.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
? means minimal matching not maximal, so without the question mark it would match up
to the second closing paren in the following line.
( test data ) ( more test data )
which is not what you want, it would match up to the last closing paren in the data
you gave it, forgetting about newlines,
Have you had a look on:
http://www.sourceforge.net/
Plenty of projects on there.
Cheers,
Nigel
MIS Web Design
http://www.miswebdesign.com/
> -Original Message-
> From: rajeev [mailto:[EMAIL PROTECTED]
> Sent: 12 June 2003 14:38
> To: [EMAIL PROTECTED]
> Subject: Searching for a Perl Pro
-Original Message-
> From: Dan Muey [mailto:[EMAIL PROTECTED]
> Sent: 28 February 2003 14:43
> To: Nigel Peck - MIS Web Design; [EMAIL PROTECTED]
> Subject: RE: Delivering Graphics over HTTP
>
>
> I assume what you're trying to do is have in your html
>
>
>
I need to deliver graphic files (jpg and gif) over http in the same manner
that a web server would. Can anyone point me in the right direction? Setting
the mime type is no problem but it's the rest that I have no experience of.
In the past I've always simply done a location: /path/to/graphic but th
are the only
option.
Cheers
Nigel
> -Original Message-
> From: R. Joseph Newton [mailto:[EMAIL PROTECTED]
> Sent: 27 February 2003 23:34
> To: Nigel Peck - MIS Web Design
> Cc: CGI List; [EMAIL PROTECTED]
> Subject: Re: Cookies, CGI
>
>
> Nigel Peck - MIS Web
ond script but
Mozilla doesn't.
Cheers for the advice I'll look that one up.
Nigel
> -Original Message-
> From: Dan Muey [mailto:[EMAIL PROTECTED]
> Sent: 27 February 2003 23:49
> To: R. Joseph Newton; Nigel Peck - MIS Web Design
> Cc: CGI List; [EMAIL PROTECTED]
&g
I'm trying to set a cookie and have it returned to the script before the
user has to visit another page.
I'm currently doing it like this:
Original Cookie already set
User request -> Script returns Set-cookie and Refresh to second script
Second script called with original cookie, not new one
User
you can use "and" or "&&".
if (($a==$b) && ($d==$e)) {
# code here
}
and has a lower precedence than &&.
For or there's "or" or "||"
HTH
Nigel
MIS Web Design
http://www.miswebdesign.com/
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 30 Janu
You should be able to write a script to use chmod to do it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 31 December 2002 15:25
To: [EMAIL PROTECTED]
Subject: PERL\CGI question...
The ISP that I use seems to be always restoring files with the result
that a
I'm getting Bad file descriptor doing $ftp->ls(), anyone had this?
Running from Win2k to a Solaris ftp server.
TIA
Nigel
MIS Web Design
http://www.miswebdesign.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
PROTECTED]]
Sent: 16 December 2002 21:37
To: 'Nigel Peck - MIS Web Design'
Subject: RE: remote hard drive stat
I have 10 windows nt and 2000 server that I want disk info on. The info
that I would like is free space and used space.
Thomas Browner
Digidyne, Inc
Technical Engineer
(251)479-
Windows probably won't see it as a DOS app so that'll be why. Have you tried
alt and enter (together) to get it off full screen, then right click on the
top left and properties, change the properties, click ok, then save setting
for future windows with same title.
HTH
Nigel
MIS Web Design
http://
my $sql = "SELECT * FROM table WHERE";
foreach $record_id ($record_ids) {
$sql .= " record_id EQ $record_id OR ";
}
Needs some tweeking but hopefully you get the idea (the last one needs to
not include the OR).
HTH
Nigel
-Original Message-
From: Mariusz [mailto:mkubis22@;hotmail
ovember 2002 11:48
To: Nigel Peck - MIS Web Design; [EMAIL PROTECTED]
Subject: RE: How to check server for perl setup?
Hi Nigel,
Thanks for the info! I have the below entry in my httpd.conf file. Is this
basically all I need to enable perl?
Dan
LoadModule perl_modulemod
You can check that perl is there by asking for it's version
/usr/bin/perl -v
You will need to check your Apache configuration file httpd.conf to make
sure that Perl is enabled. The Apache documentation should help you there.
Not sure about the books, Apache help and lists usually help enough for
25 matches
Mail list logo