Sorting Problems

2004-03-30 Thread Nigel Peck - MIS Web Design
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

Sorting Problems

2004-03-30 Thread Nigel Peck - MIS Web Design
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

Net::SMTP Problem - Bad Protocol

2004-02-06 Thread Nigel Peck - MIS Web Design
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

RE: IIS Log File Conversion

2003-09-04 Thread Nigel Peck - MIS Web Design
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

IIS Log File Conversion

2003-09-03 Thread Nigel Peck - MIS Web Design
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]

RE: or operator

2003-09-03 Thread Nigel Peck - MIS Web Design
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

or operator

2003-08-29 Thread Nigel Peck - MIS Web Design
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

Day of the week

2003-08-18 Thread Nigel Peck - MIS Web Design
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

RE: Script's Name

2003-07-19 Thread Nigel Peck - MIS Web Design
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

Script's Name

2003-07-17 Thread Nigel Peck - MIS Web Design
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]

RE: Regular Expression (fwd)

2003-07-17 Thread Nigel Peck - MIS Web Design
? 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,

RE: Searching for a Perl Project to work on

2003-06-12 Thread Nigel Peck - MIS Web Design
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

RE: Delivering Graphics over HTTP

2003-03-05 Thread Nigel Peck - MIS Web Design
-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 > > >

Delivering Graphics over HTTP

2003-02-28 Thread Nigel Peck - MIS Web Design
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

RE: Cookies, CGI

2003-02-27 Thread Nigel Peck - MIS Web Design
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

RE: Cookies, CGI

2003-02-27 Thread Nigel Peck - MIS Web Design
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

Cookies, CGI

2003-02-27 Thread Nigel Peck - MIS Web Design
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

RE: What is the and operator in perl

2003-01-30 Thread Nigel Peck - MIS Web Design
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

RE: PERL\CGI question...

2002-12-31 Thread Nigel Peck - MIS Web Design
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

Bad file descriptor Net::FTP

2002-12-29 Thread Nigel Peck - MIS Web Design
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]

RE: remote hard drive stat

2002-12-16 Thread Nigel Peck - MIS Web Design
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-

RE: Full Screen

2002-12-16 Thread Nigel Peck - MIS Web Design
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://

RE: perl & MySQL

2002-11-12 Thread Nigel Peck - MIS Web Design
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

RE: How to check server for perl setup?

2002-11-02 Thread Nigel Peck - MIS Web Design
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

RE: How to check server for perl setup?

2002-11-02 Thread Nigel Peck - MIS Web Design
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