Re: CPAN/Matt's???

2003-04-01 Thread Kevin Meltzer
Some places around the world, it is April 1 ;-)

On Mon, Mar 31, 2003 at 07:47:47PM -0500, Hughes, Andrew ([EMAIL PROTECTED]) said 
something similar to:
 I just got it as well.  If you click on the MSA logo, it takes you to this
 page http://www.cpan.org/index2.html
 
 What's going on?
 
 Andrew
 
 -Original Message-
 From: Scot Robnett [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 31, 2003 7:44 PM
 To: [EMAIL PROTECTED]
 Subject: CPAN/Matt's???
 
 
 Is anyone else seeing Matt's script archive when they try to go to CPAN? 
 
 Scot R.
 inSite
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Jazz is not dead...it just smells funny. -- Beebop tango introduction
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: $from_address

2003-03-28 Thread Kevin Meltzer
$from _address will not interpolate in single quotes. No quotes needed
around $from_address, $to_address or $subject.

Cheers,
Kevin

On Fri, Mar 28, 2003 at 12:12:44PM -0700, Robbie Staufer ([EMAIL PROTECTED]) said 
something similar to:
 Hi,
 
 I have a perl script that takes in form data and generates and email 
 with the data to be sent to me.  I'm getting the error message   
  Error:Bad or missing From address: '$from_address'.  The webmaster says 
 I'm using the correct from address, so, any ideas about this error message?
 
 Thanks.
 Robbie
 
 Here's what I have:
 
 ### send mail #
 
 $from_address = [EMAIL PROTECTED];
 $to_address = [EMAIL PROTECTED];
 $subject = ESMF Registration Form;
 
 %mail = (
 SMTP= 'finster.scd.ucar.edu',
 from= '$from_address',
 to  = '$to_address',
 subject = '$subject',
 );
 
 $mail{body} = END_OF_BODY;
 
 First Name: $fname
 Last Name: $lname
 Email: $email
 Organization: $org
 Scientific Interest: $sci_int
 Mailing List? $check
 
 sendmail(%mail) || print Error: $Mail::Sendmail::error\n;
 
 
 -- 
 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 Robbie Staufer
 NCAR/SCD
 1850 Table Mesa Dr. Rm. 42
 Boulder, CO. 80305
 (303) 497-1836
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I know the human being and fish can coexist peacefully.
-- G.W. Bush, Saginaw, MI 09/29/2000

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Good Perl cgi book?

2003-03-18 Thread Kevin Meltzer
Blatant and shameless self-promotion.. see my sig.. :)

On Mon, Mar 17, 2003 at 05:30:44PM -0500, Bob X ([EMAIL PROTECTED]) said something 
similar to:
 What is the best book for a beginner to get started with on Perl and CGI?
 
 Bob

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Some people have told me they don't think a fat penguin really embodies
the grace of Linux, which just tells me they have never seen a angry
penguin charging at them in excess of 100mph.  They'd be a lot more
careful about what they say if they had.  -- Linus Torvalds

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] YAPC::NA 2003 Registration

2003-03-06 Thread Kevin Meltzer
Sorry :)

http://yapc.org/America/

Cheers,
Kevin

On Wed, Mar 05, 2003 at 05:49:52PM -0800, R. Joseph Newton ([EMAIL PROTECTED]) said 
something similar to:
 Kevin Meltzer wrote:
 
  Hello folks,
 
  ...
  It will be June 16-18, 2003 in Boca Raton, FL. Please visit the website
  to learn more, and _to register_. If anyone has any questions, feel
  free to email me off-list.
 
  Cheers,
  Kevin
 
 Eh, which website?  I didn't see a link.  FWIW, yas.org [my best first guess] is 
 available for sale or lease.
 
 Joseph
 
  [Writing CGI Applications with Perl - http://perlcgi-book.com]
  The California crunch really is the result of not enough power-generating
  plants and then not enough power to power the power of generating plants.
  -- G.W. Bush, Interview with New York Times 01/14/2001
 
 Well.  That certainly cleared things up  ;- )

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
After they make styrofoam, what do they ship it in?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] YAPC::NA 2003 Registration

2003-03-05 Thread Kevin Meltzer
Hello folks,

I just wanted to alert people to the fact that registration has begun
for YAPC::NA::2003.

The Yet Another Perl Conferences (YAPCs) are grassroots symposia on the
Perl programming language under the auspices of the Yet Another Society
(YAS), a non-profit corporation for the advancement of collaborative
efforts in computer and information sciences.

The cost is $85 for 3 days of talks, tutorials and discussions. I have
some fabulous talk proposals, so this stands to be a great place to
learn some new things.

It will be June 16-18, 2003 in Boca Raton, FL. Please visit the website
to learn more, and _to register_. If anyone has any questions, feel
free to email me off-list.

Cheers,
Kevin 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
BASIC is the Computer Science equivalent of `Scientific Creationism'.
-- BSD fortune file

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] YAPC::NA 2003 Registration

2003-03-05 Thread Kevin Meltzer
Hello folks,

I just wanted to alert people to the fact that registration has begun
for YAPC::NA::2003. 

The Yet Another Perl Conferences (YAPCs) are grassroots symposia on the
Perl programming language under the auspices of the Yet Another Society
(YAS), a non-profit corporation for the advancement of collaborative
efforts in computer and information sciences.

The cost is $85 for 3 days of talks, tutorials and discussions. I have
some fabulous talk proposals, so this stands to be a great place to
learn some new things.

It will be June 16-18, 2003 in Boca Raton, FL. Please visit the website
to learn more, and _to register_. If anyone has any questions, feel
free to email me off-list.

Cheers,
Kevin 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
The California crunch really is the result of not enough power-generating
plants and then not enough power to power the power of generating plants.
-- G.W. Bush, Interview with New York Times 01/14/2001

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ADMIN] Re: [Fwd: ezmlm response] Remove request

2003-02-28 Thread Kevin Meltzer
The correct address to send remove requests is
[EMAIL PROTECTED] when you have exhausted all other means.

TIP: Make sure you are trying to subsibscribe the correct address.

Cheers,
Kevin

On Fri, Feb 28, 2003 at 10:27:05AM -0500, Justin Cameron ([EMAIL PROTECTED]) said 
something similar to:
   Pardon for the OT post, but would the list admin kindly remove me from 
 this mailing list.  I'm having no luck with the autoresponder.
 
 - Justin Cameron

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
My PID is Inigo Montoya. You kill -9 my parent process. Prepare to vi.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What is \000?

2002-12-12 Thread Kevin Meltzer
\000 is a null character.

Cheers,
Kevin

On Wed, Dec 11, 2002 at 12:38:49PM -0600, Dr. Poo ([EMAIL PROTECTED]) said 
something similar to:
 What/when/where/how might one come across the ?character? '\000' - that's 
 backslash followed by three zero's.
 
 I ask because i've just come acress a regex for parsing valid directories and 
 it has that as an m/...[^\000].../ (as in, we don't want to find this...)
 
   Thanks
   -Chris
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
And nowyou are going to dance...like you've never danced before!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Non valid emails

2002-11-07 Thread Kevin Meltzer
These requests should go to [EMAIL PROTECTED]

Cheers,
Kevin

On Thu, Nov 07, 2002 at 07:53:10AM -0800, Timothy Johnson ([EMAIL PROTECTED]) said 
something similar to:
  
 I'd second that motion.  There are a few addresses that I would have
 submitted in the past if I had known where to send them...
 
 -Original Message-
 From: dan
 To: [EMAIL PROTECTED]
 Sent: 11/7/02 5:26 AM
 Subject: Non valid emails
 
 And another thing...
 
 Is there some moderator or something of this board that can delete
 emails
 from the mailing list that haven't been used, or been retrievable, for a
 certain amount of time? I think it gets annoying when you post to the
 newsgroup, and then get a few Mailer Daemon responses saying the message
 couldn't be delivered to X people because of Y reason.
 
 dan
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Beauty is a French phonetic corruption of a short, cloth neck ornament,
currently in resurgence.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: URL decode

2002-10-05 Thread Kevin Meltzer

URI::Escape can do this for you.

# perl -MURI::Escape -e 'print \
uri_unescape(%D7%91%D7%A8%D7%99%D7%AA)'  esc.txt

The contents of esc.txt:

\xd7\x91\xd7\xa8\xd7\x99\xd7\xaa

Do what you need to with the output.

Cheers,
Kevin

On Sat, Oct 05, 2002 at 08:25:31AM -0700, Kevin ([EMAIL PROTECTED]) said something 
similar to:
 Hello,
 
 I need to progrmatically decode the following UTF-8 data via CGI:
 
 q=%D7%91%D7%A8%D7%99%D7%AA
 
 Can this be done?
 
 -Kevin
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
There's a pizza place near where I live that sells only slices.
in the back you can see a guy tossing a triangle in the air.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: select multiple

2002-10-05 Thread Kevin Meltzer

Read the docs for CGI.pm

perldoc CGI

Cheers,
Kevin

On Sat, Oct 05, 2002 at 07:33:33PM +0200, Vincent van Kuler ([EMAIL PROTECTED]) said 
something similar to:
 How can I get the selected items from a select multiple
 
 Example:
 
 form method=post action=do_it.pl
 SELECT multiple size=7 name=component-select
 OPTION name=first selected value=Component_1_aSelected
 Component_1/OPTION
 OPTION name=secondComponent_3/OPTION
 OPTION name=thirdComponent_4/OPTION
 /SELECT
 input type=submit value=Show_me
 /form
 
 Vincent
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
The California crunch really is the result of not enough power-generating
plants and then not enough power to power the power of generating plants.
-- G.W. Bush, Interview with New York Times 01/14/2001

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: e-mail

2002-10-02 Thread Kevin Meltzer

I usually suggest MIME::Parser for breaking up emails in to nice
seperate parts. See if that fits your needs. As for fetching the mail,
look at one of the POP modules, or Mail::IMAPClient or Mail::Cclient if
you use IMAP.

Cheers,
Kevin

On Wed, Oct 02, 2002 at 07:34:39AM -0500, Jerry Preston ([EMAIL PROTECTED]) said 
something similar to:
 Hi!
 
 I need to be able to read incoming e-mail break down it's contents, input
 this data into an oracle table, do some numbers based on this data.  Then
 generate a new e-mail and send it back.
 
 The only part that is new to me here is the e-mail.  What is the best and or
 easiest way to deal with e-mail and to get started?  I have seen comments
 based on CPAN, Net::SMTP, MIME, Net::POP3 etc.
 
 What do I need to read?
 
 Thanks,
 
 Jerry

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
If you were going to shoot a mime, would you use a silencer?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Getting the web page language

2002-09-09 Thread Kevin Meltzer

Hi,

Just to clarify...

ISO-8859-1 is not 'Plain American English'. The charset for that is
US-ASCII. ISO-8869-1 is extended ASCII (Latin1), and covers glyphs from most
Western European languages.
( French (fr), Spanish (es), Catalan (ca), Basque
(eu), Portuguese (pt), Italian (it), Albanian (sq), Rhaeto-Romanic
(rm), Dutch (nl), German (de), Danish (da), Swedish (sv), Norwegian
(no), Finnish (fi), Faroese (fo), Icelandic (is), Irish (ga), Scottish
(gd), and English (en), incidentally also Afrikaans (af) and Swahili
(sw), thus in effect also the entire American continent, Australia and
much of Africa.)

Having a -2, -3, etc... are other extended Latin charsets which add
more glyphs. For example, Latin5 (ISO-8859-5) covers Cyrillic, which is
not a part of ISO-8869-1. So, although ISO-8859-1 is usually a default,
it doesn't mean you are typing/getting plain English. 

Cheers,
Kevin

On Mon, Sep 09, 2002 at 05:36:37PM +1000, Jimmy George ([EMAIL PROTECTED]) 
said something similar to:
 Hello Octavian
 
 embedded in the text that comes down to you in the header section - not
 shown of course when you view your email or web page is
 
 Content-Type: text/plain;   charset=iso-8859-1
 
 which means you are typing plain american english. The engines look for
 'Content-Type and decode the charset bit. No charset implies iso-8859-1
 as the default. Plain American English.  That is what shml and xml are
 all about.
 
 I am not sure whether making it a -2 or a -3 means we cannot say 'suck
 eggs' or limit the range of jokes we receive. This message is a -1 with
 'suck eggs' in quotes so it will go through.

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
We all agree on the necessity of compromise.  We just can't agree on
 when it's necessary to compromise.
--Larry Wall in  [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Getting the web page language

2002-09-08 Thread Kevin Meltzer

Does it matter what language, or what charset? 

meta http-equiv=Content-Type content=text/html; charset=iso-8859-1/

You can always look at this and the lang=foo tags to try to determine
what language, or at least what charset, the page is in. Of course, a
charset (like iso-8869-1) can cover many languages, but at least you
can narrow it down a little if you don't find a lang=foo tag.

Cheers,
Kevin

On Sun, Sep 08, 2002 at 08:05:18AM +0300, Octavian Rasnita ([EMAIL PROTECTED]) said 
something similar to:
 Hi all,
 
 I want to create a search engine. Please tell me how can I find out the
 languages used in a web page.
 I know that HTML 4.01 uses html lang=en for example, but most of the web
 pages don't use this tag.
 
 What should I test to find the language used?
 
 Thank you.
 
 Teddy's Center: http://teddy.fcc.ro/
 Mail: [EMAIL PROTECTED]
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
You are all the Buddha.
-- Buddha (last words)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: OT - Interesting Perl output; What is it?

2002-09-04 Thread Kevin Meltzer

I think this is called n - reversal of digits of n' where a(n) is a 
multiple of 9.

A good place to find out about number sequences is:
http://www.research.att.com/~njas/sequences/

Which is where I found this sequence.

Cheers,
Kevin

On Wed, Sep 04, 2002 at 09:30:59AM -0700, nyec ([EMAIL PROTECTED]) said something 
similar to:
 This is off-topic, but I wasn't able to get an answer on a few math forums, 
 so I thought I'd pass it by the diverse Perl community. By accident my Perl 
 program produced some output - incorrect, but interesting. I was wondering if 
 anyone recognizes the numerical pattern or what it is called? I couldn't find 
 info on this during any of my searches.
 
 The program took a number sequence. For example 10-100, reversed the digits 
 and calculated the difference of the original number. So the calculations 
 look like this: 10-01=9; 11-11=0; 12-21=9; 13-31=18; etc.. 
 
 Two things were noticeable,  One, a pattern repeated (see output example 
 below). Two, the separation between differences was always 9. Patterns were 
 present, albeit different, from 100-999, and 1000-. 
 
 Can someone tell me what this is called? 
 
 ## Example Output ##
 10 - 01 = 9
 11 - 11 = 0
 12 - 21 = 9
 13 - 31 = 18
 14 - 41 = 27
 15 - 51 = 36
 16 - 61 = 45
 17 - 71 = 54
 18 - 81 = 63
 19 - 91 = 72
 20 - 02 = 18
 21 - 12 = 9
 22 - 22 = 0
 23 - 32 = 9
 24 - 42 = 18
 25 - 52 = 27
 26 - 62 = 36
 27 - 72 = 45
 28 - 82 = 54
 29 - 92 = 63
 30 - 03 = 27
 31 - 13 = 18
 ## END Example Output ##
 
 Thanks in advance for any information. This is driving me crazy. 
 
 nyec
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Disciple   - Master, why isn't everything perfect?
Zen Master - It is.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Password entry field.

2002-08-27 Thread Kevin Meltzer

As well as the pointer Craig gave, you can also look at the
Term::ReadPassword module.

Cheers,
Kevin

On Tue, Aug 27, 2002 at 02:55:41PM -0400, Ravindranath, Sujit 
([EMAIL PROTECTED]) said something similar to:
 Hi all,
 I am using PERL to write a terminal(UNIX) program wherein it prompts the
 user for some information, including a password field.
 Now,is there a way I can set this up so that the user-input key-strokes show
 up as asterisks on the screen ?
 
 Thanks
 Sujit Ravindranath
 ATT Wireless Services
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called `brightness', but it doesn't work.
-- Gallagher 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: MIME::Lite 'Datestamp' problem -- truncating timezone? (UT instead of UTC)

2002-08-26 Thread Kevin Meltzer

UT (Universal Time) is a valid TZ. It is the same as UTC and GMT.  
So, treat it as if it is GMT when parsing. Smart mail clients don't
always use the abbreviation, and use the offset (the -0500 bit). So,
sending as UT is perfectly valid, although not always the best way to
do it. You can set the TZ manually in MIME::Lite (which you really
should do, IMO) like:

$msg = MIME::Lite-new(
From   = $from,
To = $to,
Cc = $cc,
Subject= $subject,
Type   = 'TEXT',
Encoding   = $transfer_encoding,
... more stuff if you need ...
Date   = $date,
Data   = $body
);

So, if you create a valid Date string, just set it yourself. This can
also help make your software more internationalized, since you can
properly send email from a users TZ, as opposed to UT with an offset
based on your server (for example, people who use my web-based email
system may be in JST, not EST5EDT, so they want their email to reflect
this).

Cheers,
Kevin

On Mon, Aug 26, 2002 at 04:52:45PM -0500, Karl Kaufman ([EMAIL PROTECTED]) said 
something similar to:
 Hello,
 
 I'm trying to determine whether there's a problem with the MIME::Lite
 module.  I've sent an email to the module's author, but haven't heard back.
 Is there a bugs mailing list somewhere that I can post the following info
 to, in order to get verification and facilitate a fix.
 
 (It's my opinion that the UT timezone on line 1057 of MIME::Lite is a
 typo/error.)
 
 Thanks in advance..!
 Karl K.
 
 Details ---
 
 I noticed that timestamps on my emails generated using MIME::Lite were off
 by 5 hours, so I looked into how MIME::Lite was timestamping the messages.
 I quickly noticed what appeared to be the problem:   UTC is being
 truncated to just UT in the prepared message -- so the receiving system,
 unable to translate the unknown timezone (i.e. 'UT'), assumes local time
 instead of
 UTC/GMT -- causing the 5-hour difference (since my systems are in CDT).
 
 Here's a sample message generated by MIME::Lite..
 
   Content-Disposition: inline
   Content-Length: 0
   Content-Transfer-Encoding: binary
   Content-Type: text/plain
   MIME-Version: 1.0
   X-Mailer: MIME::Lite 2.117  (F2.6)
   Date: Mon, 19 Aug 2002 22:18:44 UT
   From: Wile E. Coyote [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Mon Aug 19 17:18:44 2002
 
 Take a look at line 1057 and 3372 of the MIME::Lite code:
 
   1057:   my $date = $u_wdy, $u_mdy $u_mon $u_y4 $u_time UT;
   3372: Also added automatic inclusion of a UT Date: at top level unless
 
 Here's my test environment specifics:
 - MIME::Lite v2.117 running under Perl 5.005_03 on Solaris 2.6
 - Lotus Notes R5 server is receiving the message, I believe.
 
 Is UT supposed to be considered a valid timezone?  I can definitely say
 that it's not recognized on either version of Solaris in my environment.
 Both UTC and UCT are acceptable (and identical) but not UT.
 
  ls -ilR /usr/share/lib/zoneinfo | egrep -i 'ut|uc'
 100358 -rw-r--r--  11 bin  bin   56 Jul 15  1997 UCT
 100358 -rw-r--r--  11 bin  bin   56 Jul 15  1997 UTC
  75316 -rw-r--r--   1 bin  bin15504 Jul 15  1997
 southamerica
  82445 -rw-r--r--   1 bin  bin  785 Jul 15  1997 South
 13 -rw-r--r--   1 bin  bin  823 Jul 15  1997 Aleutian
 
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
It would be easier to pay off the national debt overnight than to neutralize
the long-range effects of OUR NATIONAL STUPIDITY.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: newbie question

2002-08-20 Thread Kevin Meltzer

On Mon, Aug 19, 2002 at 05:17:05PM -0700, John W. Krahn ([EMAIL PROTECTED]) said 
something similar to:
 Kevin Meltzer wrote:
  
  On Mon, Aug 19, 2002 at 04:35:53PM -0700, John W. Krahn ([EMAIL PROTECTED]) said 
something similar to:
   Kevin Meltzer wrote:
   
This is actually a bug. It just seems that nobody seems to care :) It
would break too many JAPHs which use this.
   
So, don't depend on it, in case it is ever fixed.
  
   Can you cite a reference to this behavior described as a bug?
  
  Does that behavior not seem like a bug to you?
 
 Not necessarily.  :-)
 
I'm curious as to why. When I mentioned it on channel, a few people
didn't see it as a bug either, at first. Being that it is using -- in a
way which isn't consistent with -- (it increments as opposed to
decrement). In fact, it isn't just with --/++ but + and - will yield
the same results. Anyways, just curious why you think that subtracting
from 0 yields a 1 doesn't seem like a bug (and when adding 1 never
yields a 0).

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
You have just destroyed one model XQJ-37 nuclear powered pansexual
roto-plookerand you're gonna have to pay for it.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: newbie question

2002-08-20 Thread Kevin Meltzer

Show me that $| can have a value other than 1 or 0 :) Same with $^W,
which has the same behavior. I can see that, in a way, it makes sense..
since $|-- would make it -1, which is a true value and since $| can
only be 1|0 it becomes 1, since that is a true value. But, I still
don't like it :) Especially with $^W.

If something isn't documented, it is either a bug or a feature, once
documented it is a feature :)

Cheers,
Kevin

On Tue, Aug 20, 2002 at 05:38:02PM -0400, Nikola Janceski 
([EMAIL PROTECTED]) said something similar to:
 It's not a bug as I see it. You gurus must have told the compiler that $|
 can only hold a 0 or 1 for whatever reason;
 
 Just because something isn't documented, doesn't make it a bug.
 
 But even in the docs it tells you,
 The following names have special meaning to Perl.
 Translation: Don't do crap with it, unless it's for it's special purpose.
 
 
  -Original Message-
  From: John W. Krahn [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, August 20, 2002 5:22 PM
  To: [EMAIL PROTECTED]
  Subject: Re: newbie question
  
  
  Kevin Meltzer wrote:
   
   I'm curious as to why. When I mentioned it on channel, a few people
   didn't see it as a bug either, at first. Being that it is 
  using -- in a
   way which isn't consistent with -- (it increments as opposed to
   decrement). In fact, it isn't just with --/++ but + and - will yield
   the same results. Anyways, just curious why you think that 
  subtracting
   from 0 yields a 1 doesn't seem like a bug (and when adding 1 never
   yields a 0).
  
  Well, because Perl has lots of special cases like this.  Most people
  don't ever use $| let alone the special properties of $|--.  
  The average
  programmer just needs to know that setting $| to 1 turns on autoflush
  and setting $| to 0 turns off autoflush.  What about the fact that ++
  will increment a string but -- will not decrement it?
  
 
 
 
 The views and opinions expressed in this email message are the sender's
 own, and do not necessarily represent the views and opinions of Summit
 Systems Inc.
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
As the fletcher whittles and makes straight his arrows, so the master directs
his straying thoughts. 
-- Buddha

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN - REDIRECT] Re: CGI script problem

2002-08-19 Thread Kevin Meltzer

This message is being redirected to the beginners-cgi list. Please
answer on that list, and to the original poster. Thanks.

Cheers,
Kevin

On Mon, Aug 19, 2002 at 04:11:14PM +0100, Matt Wetherill ([EMAIL PROTECTED]) 
said something similar to:
 Hi list,
 
 I'm just trying to get started with cgi (w2k, Apache 2.0.40), and have been
 using the sample script printenv.pl which is included with Apache:
 
 #!c:/Perl/bin/Perl.exe
 ##
 ##  printenv -- demo CGI program which just prints its environment
 ##
 
 print Content-type: text/plain\n\n;
 foreach $var (sort(keys(%ENV))) {
 $val = $ENV{$var};
 $val =~ s|\n|\\n|g;
 $val =~ s||\\|g;
 print ${var}=\${val}\\n;
 }
 
 However, if I try to run this script from a browser using the url:
 
 http://localhost/cgi-bin/printenv.pl
 
 Netscape6 works fine and displays the environment in the browser window, but
 IE 6 tries to download the script and it looks like the server isn't being
 allowed to run it.
 
 I appreciate that this is probably a bit off-topic, but any advice or
 pointers to other resources would be greatly appreciated.
 
 many thanks
 
 Matt
 
 -
 **
 Matt Wetherill
 University of Salford
 [EMAIL PROTECTED]
 mobile: +44 7812 016059
 office: +44 161 295 5853
 **
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
All people have the right to be stupid, some people just abuse it!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN - REDIRECT] Re: CGI script problem

2002-08-19 Thread Kevin Meltzer

This message is being redirected to the beginners-cgi list. Please
answer on that list, and to the original poster. Thanks.

Cheers,
Kevin

On Mon, Aug 19, 2002 at 04:11:14PM +0100, Matt Wetherill ([EMAIL PROTECTED]) 
said something similar to:
 Hi list,
 
 I'm just trying to get started with cgi (w2k, Apache 2.0.40), and have been
 using the sample script printenv.pl which is included with Apache:
 
 #!c:/Perl/bin/Perl.exe
 ##
 ##  printenv -- demo CGI program which just prints its environment
 ##
 
 print Content-type: text/plain\n\n;
 foreach $var (sort(keys(%ENV))) {
 $val = $ENV{$var};
 $val =~ s|\n|\\n|g;
 $val =~ s||\\|g;
 print ${var}=\${val}\\n;
 }
 
 However, if I try to run this script from a browser using the url:
 
 http://localhost/cgi-bin/printenv.pl
 
 Netscape6 works fine and displays the environment in the browser window, but
 IE 6 tries to download the script and it looks like the server isn't being
 allowed to run it.
 
 I appreciate that this is probably a bit off-topic, but any advice or
 pointers to other resources would be greatly appreciated.
 
 many thanks
 
 Matt
 
 -
 **
 Matt Wetherill
 University of Salford
 [EMAIL PROTECTED]
 mobile: +44 7812 016059
 office: +44 161 295 5853
 **
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
All people have the right to be stupid, some people just abuse it!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: newbie question

2002-08-19 Thread Kevin Meltzer


This is actually a bug. It just seems that nobody seems to care :) It
would break too many JAPHs which use this.

So, don't depend on it, in case it is ever fixed. 
On Mon, Aug 19, 2002 at 01:17:15PM -0700, John W. Krahn ([EMAIL PROTECTED]) said 
something similar to:
 Bob Showalter wrote:
 Also, $| has an interesting property when you decrement it.
 
 $ perl -le'for (1 .. 6) {$|--; print $|}'
 1
 0
 1
 0
 1
 0
 


The following makes sense, since $| only has a range of [0,1], it
should stay at 1.. unlike the $-- bug.

 $ perl -le'for (1 .. 6) {$|++; print $|}'
 1
 1
 1
 1
 1
 1

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Number one ain't you... You ain't even number two.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: time and date

2002-08-19 Thread Kevin Meltzer

Hi Anadi,

You want to take a look at the MIME-tools, specifically MIME::Parser
and MIME::Head (look for MIME::Tools on http://search.cpan.org). If
that seems too heavy duty for your needs, take a look at the Mail::*
modules on the CPAN. 

Also look there for ways to access the mail, if you haven't gotten that
far yet (Mail::POP3Client, Mail::IMAPClient, etc...).

Of course, you are then going to want to muck about with the actual
time you get, since it may not be in your timezone :)

Cheers,
Kevin

On Mon, Aug 19, 2002 at 09:34:08PM +, A Taylor ([EMAIL PROTECTED]) said 
something similar to:
 I am trying to get the time and date that some one sends me an email.
 can anyone help me or point me in the right direction as how to get these in 
 perl ???
 
 Thanks in advance for your help - its much appreciated
 Anadi
 
 
 
 You are just a dewdrop, and as you meditate the dewdrop starts slipping from 
 the petals of the Lotus towards the ocean. When the meditation is complete, 
 the dewdrop has disappeared into the ocean. Or you can say, the ocean has 
 disappeared into the dewdrop.
 
 Bhagwan Shree Rajneesh.
 
 
 _
 Join the world’s largest e-mail service with MSN Hotmail. 
 http://www.hotmail.com
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
This Too Shall Pass
-- inscription on the inside of King Solomon's Ring.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: How fatalsToBrowser works ?

2002-08-16 Thread Kevin Meltzer

Please people, do NOT cross post to the beginners lists. If your
question is not CGI related, post to the beginners list, if your
question is CGI related, post to the beginners-cgi list. Never, ever,
ever, ever should you need to ask a question on both lists.

If you don't know which list to post something to, read the FAQ of the
list (on http://learn.perl.org/, and also posted here weekly) and make
an educated guess of which _one_ to post to.

Thanks for your cooperation.

Cheers,
Kevin

On Fri, Aug 16, 2002 at 11:38:12PM +0800, Connie Chan ([EMAIL PROTECTED]) said 
something similar to:
 I am on a Win32 system, and  I use the fatalsToBrowser to prompt errors 
 with some scripts. However, the error mesg will also prompt where exactly
 the file(script) is located. In case, I don't want the full path is exposed.
 Can I modify sth , perhaps regex s///, to mask the root path ?
 
 like :
 File not found : html/log/connie.txt at C:\WWWroot\CGI-ALL\index.pl line 12.
 
 is better be masked as :
 File not found : html/log/connie.txt at /index.pl line 12.
 
 Is that possible ?
 
 Rgds,
 Connie
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
What's another word for Thesaurus?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: How fatalsToBrowser works ?

2002-08-16 Thread Kevin Meltzer

On Sat, Aug 17, 2002 at 12:08:14AM +0800, Connie Chan ([EMAIL PROTECTED]) said 
something similar to:
 So, you are cross posting now!

I am the one who watches the lists, if you haven't noticed or read the
FAQs. Admins cross-posting isn't unheard of when it comes to
administriva situations.
 
 Never ever do this if that's not CGI related
 to CGI, and not to Perl to either any of them.
 If you don't understand, please read the FAQ.

I wrote the FAQ. 
 
 In case, I can't assume the subs.ers are subs.
 on both group, but my question is related to
 both on CGI issues and Perl issues. So I have
 the reason to cross posting. On my point of view,
 this actually asking to 2 independent groups.

No, you don't. If the question is related to Perl _and_ CGI, then it
should go to the beginners-cgi list. If it is CGI related, it doesn't
belong on the beginners list. This isn't rocket science. Many people
subscribe to both list. But, as with any list(s), it is appropriate to
post to the best suited one for the topic of your question.

Some people have even emailed me privately asking if it is OK to say
'thanks' on a list (which it is, of course). Why is it some people are
so polite, and others are so argumentative?
 
 I believe that I behaves good on almost postes, to
 the right list. I seldom cross posting unless I have
 the reason to.

There is no reason to, unless you are an admin for the lists. This has
been discussed before, if you searched the archives you would likely
find me saying don't cross-post multiple times. You would also find
list members asking people not to cross-post. These are sister lists,
not independent groups. If the FAQ and the members of the lists hasn't
made that apparant, me stating it should.

 Also, if you are not giving ans. to my question, but
 a warning, pls go on by private, if you are not trying
 to telling the world that you are a police.

I am the police of the lists. Again, (re)read the FAQs. Sorry I used your
email as the one to respond to, but as someone active on  the lists,
you should know better. I do send PLENTY of emails in private, believe
me. I also get emails in private asking me to make sure people do not
cross-post. In fact, I do believe I have sent you private emails before
about cross-posting.
 
 I still submit to beginners list, as I have the impression
 that this list is more leadership. If some guys still warn
 or suggestion me to choose either one of the group for even
 my questions are related to both, I will follow and respect
 on it.

When you go to someones house, and they ask you to remove your shoes..
do you give them back-talk and wait for other guests to make the
request to you?

Please respect the people who run the lists, follow the rules of the
lists, and thank them every day for the fact they provide you with an
outlet to ask your questions. If you feel the need to argue with them,
pick up your toys and go. 

Cheers,
Kevin

 
 Rgds,
 Connie
 
 
 
 - Original Message - 
 From: Kevin Meltzer [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Saturday, August 17, 2002 12:12 AM
 Subject: Re: How fatalsToBrowser works ?
 
 
  Please people, do NOT cross post to the beginners lists. If your
  question is not CGI related, post to the beginners list, if your
  question is CGI related, post to the beginners-cgi list. Never, ever,
  ever, ever should you need to ask a question on both lists.
  
  If you don't know which list to post something to, read the FAQ of the
  list (on http://learn.perl.org/, and also posted here weekly) and make
  an educated guess of which _one_ to post to.
  
  Thanks for your cooperation.
  
  Cheers,
  Kevin
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
It looks just like a Telefunken U-47!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: How fatalsToBrowser works ?

2002-08-16 Thread Kevin Meltzer

Please people, do NOT cross post to the beginners lists. If your
question is not CGI related, post to the beginners list, if your
question is CGI related, post to the beginners-cgi list. Never, ever,
ever, ever should you need to ask a question on both lists.

If you don't know which list to post something to, read the FAQ of the
list (on http://learn.perl.org/, and also posted here weekly) and make
an educated guess of which _one_ to post to.

Thanks for your cooperation.

Cheers,
Kevin

On Fri, Aug 16, 2002 at 11:38:12PM +0800, Connie Chan ([EMAIL PROTECTED]) said 
something similar to:
 I am on a Win32 system, and  I use the fatalsToBrowser to prompt errors 
 with some scripts. However, the error mesg will also prompt where exactly
 the file(script) is located. In case, I don't want the full path is exposed.
 Can I modify sth , perhaps regex s///, to mask the root path ?
 
 like :
 File not found : html/log/connie.txt at C:\WWWroot\CGI-ALL\index.pl line 12.
 
 is better be masked as :
 File not found : html/log/connie.txt at /index.pl line 12.
 
 Is that possible ?
 
 Rgds,
 Connie
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
What's another word for Thesaurus?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: mysql problem

2002-08-15 Thread Kevin Meltzer

Easy way to check is:

perl -MDBD::mysql -e1

Cheers,
Kevin

On Thu, Aug 15, 2002 at 03:44:23PM -0500, Mike(mickako)Blezien ([EMAIL PROTECTED]) 
said something similar to:
 Jim Lundeen wrote:
  ok, i just setup a new server (redhat 7.3) and my guy says that the
  dbd/dbi stuff is configured for perl-to-mysql connectivity, but i get
  the following error message in my error log each time i try to run a
  script from either the command line or via the browser:
  
  ---
  install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
  contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
  /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
  /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
  /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
  /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at (eval
  3) line 3.
  Perhaps the DBD::mysql perl module hasn't been fully installed,
  or perhaps the capitalisation of 'mysql' isn't right.
  Available drivers: ExampleP, Pg, Proxy.
   at /home/domaincentric/mcp/www/menu.cgi line 13
 
 Make sure the DBD::mysql module is also installed. The DBI is the API that uses
 the DBD::mysql drives.

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
My PID is Inigo Montoya. You kill -9 my parent process. Prepare to vi.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: undef of nested data structures

2002-08-15 Thread Kevin Meltzer

As a side note, you can play around with Devel::Peek to see how many
things are referencing a variable.

# perl -MDevel::Peek -e
'$foo=foo;$bar=\$foo;$zog=\$foo;Dump($foo);$bar=bar;Dump($foo);print
$foo;';   
SV = PV(0x80f2424) at 0x810b3cc
  REFCNT = 3
  FLAGS = (POK,pPOK)
  PV = 0x80f10a0 foo\0
  CUR = 3
  LEN = 4
SV = PV(0x80f2424) at 0x810b3cc
  REFCNT = 2
  FLAGS = (POK,pPOK)
  PV = 0x80f10a0 foo\0
  CUR = 3
  LEN = 4
foo

There, you can see $foo has a REFCNT (ref count) of 3 ($foo, $bar and
$zog), then a REFCNT of 2 after the value of $bar is re-assigned. Of
course, the value in $foo is still 'foo';

# perl -MDevel::Peek -e
'$foo=foo;$bar=\$foo;$zog=\$foo;Dump($foo);$$bar=bar;Dump($foo);print
$foo;'; 
SV = PV(0x80f2424) at 0x810b3cc
  REFCNT = 3
  FLAGS = (POK,pPOK)
  PV = 0x80f10a0 foo\0
  CUR = 3
  LEN = 4
SV = PV(0x80f2424) at 0x810b3cc
  REFCNT = 3
  FLAGS = (POK,pPOK)
  PV = 0x80f10a0 bar\0
  CUR = 3
  LEN = 4
bar

Here, the REFCNT, as expected, stays the same. And the value in $foo is
changed. 

If you are within code and want to make sure
you don't undef things which have refs to it, you can use:

# perl -MDevel::Peek=SvREFCNT -e \
'$foo=foo;$bar=\$foo;$zog=\$foo;print SvREFCNT($foo);'; 
3

Which will tell you how many refs there are. Of course, if it is 1,
then nothing else should be referencing $foo aside $foo.

This doesn't answer the question in any way, but thought some may be
interested in this side-note.

Cheers,
Kevin

On Thu, Aug 15, 2002 at 01:52:23PM -0400, Bob Showalter 
([EMAIL PROTECTED]) said something similar to:
  -Original Message-
  From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 15, 2002 12:44 PM
  To: Beginners (E-mail)
  Subject: undef of nested data structures
  
  
  I am wondering how undef works.
 
 perldoc -f undef
 
  
  I know that undef will undefine a variable if used like 
  undef($scalar);
 
 Yes.
 
  I also know that it doesn't actually free up the memory but 
  tells Perl that
  it's now available to be recycled for other data.
 
 Well, you probably should't worry about memory allocation details. Perl
 takes care of all those details behind the scenes.
 
  
  but what about nested data (ie. hashes of hashes, arrays of 
  arrays, etc.).
  if $ref is a reference to a nested structure (let's say a 
  hash of hashes).
  will - 
  undef $ref;
   - undefine the enitre nested data structure if no other 
  variables contain
  references to any part of it? (assuming no cyclical references)
 
 undef($ref) undefines the scalar $ref. Now, if whatever $ref was pointing to
 had no other references to it, then yes, that data would be freed. But this
 is a side effect of the undef(), not something special about undef() itself.
 The same thing would happen if you assigned foo to $ref, so that $ref no
 longer contained a reference to some data. Data is freed when the last
 reference to it is removed.
 
 You can think of undef like this:
 
undef($scalar); is the same as:  $scalar = undef;
undef(@array);  is the same as:  @array = ();
undef(%hash);   is the same as:  %hash = ();
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Children are naive -- they trust everyone. School is bad enough, but, if you
put a child anywhere in the vicinity of a church, you're asking for trouble.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN - THREAD CLOSED] Re: REMOVE ME from your mailing list!

2002-08-14 Thread Kevin Meltzer

Hey folks,

We don't need to have these sort of comments and flames to the list. I
had emailed this person off list to give him other ways to unsubscribe
(and have not heard back). Many times, people seem to try to
unsubscribe from email addresses which aren't the ones subscribed to
the list. Although these people shouldn't send emails to the list about
it (if you RTFF you can plainly see email addresses of individuals to
email), people do not need to then comment about these emails and
people on the list. Thanks for your (future) cooperation.

If you ever have issues with unsubscribing, you should send an email to
[EMAIL PROTECTED], me ([EMAIL PROTECTED]), or Ask
([EMAIL PROTECTED]) with a) what you have tried, and b) what email address
you want taken off.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
  When a man sits with a pretty girl for an hour, it seems like a minute.
   But let him sit on a hot stove for a minute, and it's longer than any hour.
   That's relativity.   --Albert Einstein

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: problems with CGI module

2002-08-14 Thread Kevin Meltzer

Hi Pam,

On Wed, Aug 14, 2002 at 08:37:46AM -0700, Pam Derks ([EMAIL PROTECTED]) said 
something similar to:
[snip]
 
 elsif ($av_equip eq slide || tvvcr || lcd || boombox || overhead || 
opaque || flipchart || projection) {

This is basically like saying:

elsif ($foo eq bar || 1 || 1 || 1 || 1) {

or

elsif (1) {

You would want to change this so each part is '$av_eqip eq whatever',
or '$av_equip =~ /^(foo|bar|baz|etc)$/'
 
Also,  you do not show how you are defining the variables you are
checking. You are using param(), correct? 
 
Do a 'print $q-dump()', and make sure you are getting the parameters
correct.

 snippet of cgi code is:
 $tempfile = /tmp/avtemp$$.txt;
 
 $send_to = $q - param('send_to');
 
 # E-mail answers:
 
 $date = localtime();
 if (open(MAIL, $tempfile)) {
 print MAIL EOF;
 To: $send_to
 From: $send_to
 Subject: AV Request Form

Please look at one of the Mail::* modules, or MIME::Lite for sending
email.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Nuclear explosions under the Nevada desert? What the f*ck are we testing for?
We already know the sh*t blows up.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: problems with CGI module

2002-08-14 Thread Kevin Meltzer

Well, what exactly is the value of $av_equip and $date_slide at this
time? Add a few print statments in for debugging, use CGI::dump() to
see what is really being passed in. You may not be storing the values
you expect in these variables.

Cheers,
Kevin

On Wed, Aug 14, 2002 at 09:28:22AM -0700, Pam Derks ([EMAIL PROTECTED]) said 
something similar to:
 Hi Kevin,
 
 I've changed per your suggestion to:
 
 elsif ($av_equip eq slide) {
  if ($date_slide eq ) {
 print $q - h3(), Please enter date needed for 35mm Slide Projector.;
  }
  }
 
 
 but the error checking isn't working, 
 i.e. if I've got 35mm checked, the error message isn't being displayed
 
 any other ideas?
 
 thanks, Pam
 
  Kevin Meltzer [EMAIL PROTECTED] 08/14/02 09:17AM 
 Hi Pam,
 
 On Wed, Aug 14, 2002 at 08:37:46AM -0700, Pam Derks ([EMAIL PROTECTED]) said 
something similar to:
 [snip]
  
  elsif ($av_equip eq slide || tvvcr || lcd || boombox || overhead || 
opaque || flipchart || projection) {
 
 This is basically like saying:
 
 elsif ($foo eq bar || 1 || 1 || 1 || 1) {
 
 or
 
 elsif (1) {
 
 You would want to change this so each part is '$av_eqip eq whatever',
 or '$av_equip =~ /^(foo|bar|baz|etc)$/'
  
 Also,  you do not show how you are defining the variables you are
 checking. You are using param(), correct? 
  
 Do a 'print $q-dump()', and make sure you are getting the parameters
 correct.
 
  snippet of cgi code is:
  $tempfile = /tmp/avtemp$$.txt;
  
  $send_to = $q - param('send_to');
  
  # E-mail answers:
  
  $date = localtime();
  if (open(MAIL, $tempfile)) {
  print MAIL EOF;
  To: $send_to
  From: $send_to
  Subject: AV Request Form
 
 Please look at one of the Mail::* modules, or MIME::Lite for sending
 email.
 
 Cheers,
 Kevin
 
 -- 
 [Writing CGI Applications with Perl - http://perlcgi-book.com] 
 Nuclear explosions under the Nevada desert? What the f*ck are we testing for?
 We already know the sh*t blows up.
   -- Frank Zappa
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Don't mind your make-up, you'd better make your mind up.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Extracting attachments from emails

2002-07-18 Thread Kevin Meltzer

I use MIME::Parser, and have always loved it. It will extract
attachments to files, and you can do what you want with them. 

For example:

use MIME::Parser;
my $message = however you are getting the raw message;
$parser-output_dir('/some/directory'); 
my $entity = $parser-parse_data(\$message);

At this point, attachments should have been parsed out and created in
$INCOMING_DIR. Use $entity to fondle the rest of the message as you
want. Much more info in the docs.

Cheers,
Kevin

On Thu, Jul 18, 2002 at 10:25:52AM -0700, Steve Gilbert ([EMAIL PROTECTED]) said 
something similar to:
 Does anyone have a suggestion for extracting file
 attachments from emails? I need to setup a process
 that pulls data from an email and then moves the data
 and starts another process.
 
 Any help would be great!
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I hate it when my foot falls asleep during the day because that
means it's going to be up all night.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Extracting attachments from emails

2002-07-18 Thread Kevin Meltzer

If you mean when an attachment is a mail message with attachments...
yes.

Cheers,
Kevin

On Thu, Jul 18, 2002 at 01:33:21PM -0400, Wiggins d'Anconia ([EMAIL PROTECTED]) 
said something similar to:
 On a side note and out of laziness (I know RTFM)
 
 Does MIME::Parser handle recursive attachments??  We attempted to home 
 grow a parser a couple of years ago (I realize a lot has changed since 
 then) but were always trapped by multiple attachments inside an 
 attachment, etc. which for whatever reason we never could get to work. I 
 suppose you could use a regular recursive call to the standard 
 MIME::Parser methods, but I was just curious if it handled this on its own?
 
 
 
 
 
 Kevin Meltzer wrote:
  I use MIME::Parser, and have always loved it. It will extract
  attachments to files, and you can do what you want with them. 
  
  For example:
  
  use MIME::Parser;
  my $message = however you are getting the raw message;
  $parser-output_dir('/some/directory'); 
  my $entity = $parser-parse_data(\$message);
  
  At this point, attachments should have been parsed out and created in
  $INCOMING_DIR. Use $entity to fondle the rest of the message as you
  want. Much more info in the docs.
  
  Cheers,
  Kevin
  
  On Thu, Jul 18, 2002 at 10:25:52AM -0700, Steve Gilbert ([EMAIL PROTECTED]) 
said something similar to:
  
 Does anyone have a suggestion for extracting file
 attachments from emails? I need to setup a process
 that pulls data from an email and then moves the data
 and starts another process.
 
 Any help would be great!
 
  
  
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
It would be easier to pay off the national debt overnight than to neutralize
the long-range effects of OUR NATIONAL STUPIDITY.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Extracting attachments from emails

2002-07-18 Thread Kevin Meltzer

It's still legal in 23 states! Honest!

Cheers,
Kevin

On Thu, Jul 18, 2002 at 12:33:28PM -0700, John W. Krahn ([EMAIL PROTECTED]) said 
something similar to:
 Kevin Meltzer wrote:
  
  At this point, attachments should have been parsed out and created in
  $INCOMING_DIR. Use $entity to fondle the rest of the message as you
  want. Much more info in the docs.
 
 Fondling mails Kevin?  That doesn't sound very appealing.  :-)

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
The California crunch really is the result of not enough power-generating
plants and then not enough power to power the power of generating plants.
-- G.W. Bush, Interview with New York Times 01/14/2001

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: get external ip from D-Link router

2002-06-10 Thread Kevin Meltzer

At home I do this with LWP on my Lynksys. Look at LWP::UserAgent and
LWP::Simple for the fetching, and HTML::Parser for the HTML parsing (or
just use a regular expression if you can).

Cheers,
Kevin

On Mon, Jun 10, 2002 at 10:35:59AM -0700, bob ackerman ([EMAIL PROTECTED]) said 
something similar to:
 my box is behind a D-Link router 704.
 The router gets its ip from my isp using dhcp.
 anyone know how to get that external ip from the router?
 is any module designed to find your external ip when  you are on a lan?
 router is admined from a web page, so i guess it is possible to using LWP 
 (or some other module?) to retrieve the info from the web page.

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Share the groove.
-- Phish (Weekapaug Groove)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: webBotting a Job Hunt

2002-06-07 Thread Kevin Meltzer

Is any of this relevent to this list? I don't think so. Again, please stay on
topic.

Cheers,
Kevin

On Fri, Jun 07, 2002 at 10:51:57AM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 
 volks,
 
 this is probably more an ethical question
 than a technical question - since over the
 plays here I have become better at reverse engineering
 what webServers want pushed at them in the way of URI
 by get or puts
 
 but is it kosher to reverse engineer how various public
 web sites do this jazz - so that i merely wind up with
 a cron job that will summarize the evening search for
 jobs that are out there??? Hence in the morning review
 a single piece of email daily rather than click my
 way through all of them???
 
 
 ciao
 drieux
 
 ---
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Down that path lies madness.  On the other hand, the road to hell is
paved with melting snowballs. 
--Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN - THREAD CLOSED] Re: The Ethics of WebBotting a Job Hunt

2002-06-07 Thread Kevin Meltzer


I just said on cgi-beginners that this isn't on topic, now it is being
posted here. #1 don't cross-post, #2 stay on topic. This thread is
closed.

Cheers,
Kevin

On Fri, Jun 07, 2002 at 11:35:21AM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 
 
 volks,
 
 this is probably more an ethical question
 than a technical question - since over the
 plays here I have become better at reverse engineering
 what webServers want pushed at them in the way of URI
 by get or puts
 
 but is it kosher to reverse engineer how various public
 web sites do this jazz - so that i merely wind up with
 a cron job that will summarize the evening search for
 jobs that are out there??? Hence in the morning review
 a single piece of email daily rather than click my
 way through all of them???
 
 ciao
 drieux
 
 ---
 
 can we divorce ethics from Technology?
 and piously stand behind the fact that
 we merely made the bomb, we did not drop it
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
There ain't nothin' in this world that's worth being a snot over.
--Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [ADMIN - THREAD CLOSED] Re: The Ethics of WebBotting a Job Hunt

2002-06-07 Thread Kevin Meltzer

I hope no mom looks like me. If you don't think I am friendly, you
don't know what you are talking about. I let MANY things slide on these
lists which many others wouldn't. But when I close a thread on one
list, just to see it posted on a sister-list, it is frustrating. I have
told certain people off-list to stay on topic a few times, and it
obviously is ignored. Everyone has a line, you cross it, time for being
'friendly' is over.

Think before you feel like blasting the person who keeps order to the
lists on those lists. 

Cheers,
Kevin

On Fri, Jun 07, 2002 at 12:30:45PM -0700, Bryan R Harris ([EMAIL PROTECTED]) 
said something similar to:
 
 So much for the kinder, friendlier list mom...
 
 __
 
 
 I just said on cgi-beginners that this isn't on topic, now it is being
 posted here. #1 don't cross-post, #2 stay on topic. This thread is
 closed.
 
 Cheers,
 Kevin
 
 On Fri, Jun 07, 2002 at 11:35:21AM -0700, drieux ([EMAIL PROTECTED]) said
 something similar to:
 
 
  volks,
 
  this is probably more an ethical question
  than a technical question - since over the
  plays here I have become better at reverse engineering
  what webServers want pushed at them in the way of URI
  by get or puts
 
  but is it kosher to reverse engineer how various public
  web sites do this jazz - so that i merely wind up with
  a cron job that will summarize the evening search for
  jobs that are out there??? Hence in the morning review
  a single piece of email daily rather than click my
  way through all of them???
 
  ciao
  drieux
 
  ---
 
  can we divorce ethics from Technology?
  and piously stand behind the fact that
  we merely made the bomb, we did not drop it
 
 
  --
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 --
 [Writing CGI Applications with Perl - http://perlcgi-book.com]
 There ain't nothin' in this world that's worth being a snot over.
 --Larry Wall in [EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
  When a man sits with a pretty girl for an hour, it seems like a minute.
   But let him sit on a hot stove for a minute, and it's longer than any hour.
   That's relativity.   --Albert Einstein

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: The Ethics of WebBotting a Job Hunt

2002-06-07 Thread Kevin Meltzer




On Fri, Jun 07, 2002 at 12:36:44PM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 I am now confused - a ruling on cgi-beginner is
 also mandated for beginners???

If you read the list FAQs you would not be confused (section 2.4). If
you can keep in your mind these are BEGINNERS lists, then you shouldn't
be confised. If you keep in your mine these lists are related to _Perl_
not ethics, you should not be confused.

Staying on topic isn't a difficult concept.

If I say This is off topic for one list, and you think it is
magically on topic for the other when it contains NO reference to Perl,
then you should really spend more time thinking about what you are
doing before hitting 'send'.

Use common sense, read the FAQs, keep it on topic (I do let slighly OT
things slide by, if I didn't I would likely close 85% of your threads).
I have been nice, I have emailed off-list to stay on-topic, and it is
being ignored. This is a beginners forum, not a personal forum to get
opinions on anything technical.

Cheers,
Kevin

 
 these are the same mailing lists? These are distinct mailing lists?
 
 I can understand the concern about 'cross posting'
 but
 
 ciao
 drieux
 
 ---
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Jazz is not dead...it just smells funny. -- Beebop tango introduction
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [ADMIN - THREAD CLOSED] Re: The Ethics of WebBotting a Job Hunt

2002-06-07 Thread Kevin Meltzer

Greetings,

On Fri, Jun 07, 2002 at 02:10:05PM -0700, Bryan R Harris ([EMAIL PROTECTED]) 
said something similar to:
 First of all, let me apologize if it sounded like blasting.  I'm very
 grateful that we have these lists, and someone who's volunteered to monitor
 them.  Anyone who's been on a list that's been spammed or flamed can
 appreciate that.

Thanks. No grudge held on any perceived blasting :)

 There seems to be a happy medium between the lists that allow almost
 everything and those that allow almost nothing.  The intent behind my

I try to maintain that balance as best I can. I read both lists,
*almost* every post on each. I try to make sure that when things get
out of hand, it is stopped, when I think something (judgement call)
could easily get out of hand, I stop it and when I think things may run
their course, I try to allow it. Seeing as these lists have been a
pretty friendly place, and I see people who were once asking questions
now answering questions, I think whatever I have done hasn't been too
bad :-) $self-hort(toot)

 poorly worded post was to just add a quiet voice of moderation, hoping to
 calm a frustrated belt-wielding mother.  As with little children, drawing
 attention to misbehavior (especially in public) isn't nearly as productive

If this were a paying job (feel free to send me money!) I would love to
send emails to everyone thanking them. But, it isn't, so you only see
the 'negative' things because I try to make sure there is order, and
this list doesn't turn into one of the lists which allow almost anything.

 as reinforcing positive behavior.  It was only a single post on this list,
 not a thread spinning out of control, and it probably would've died without
 further comment.  And people seem to like that better.

That's where, as a 'list mom', I need to make a judgement call. In this
case,  you may have seen a single post, but on the other beginners list
I had said (10 minutes before) that is wasn't an appropriate topic for
the beginners forum... then POW! It is posted here. So, I immediately closed it.

Judgement calls, they aren't always popular. But, I feel that when a
discussion on 'religious' or 'ethical' issues is about to begin, they
can go on for WAY to long, and it simply isn't on topic for a list
meant to help beginners. I, over the past year+, have let many threads
run their course, as you said. So, similar to what you said, drawing
attention in a public forum for one thing you disagree with isn't as
productive as positive reinforcement. This happens every few months as
new people cycle in and out.. I try my best :)

If anyone has comments (good or bad), suggestions, money, thanks,
flames, etc... please send them to me off the list. 

Can we now *really* consider this thread closed? :-)

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
It looks just like a Telefunken U-47!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Perl/CGI mysql book

2002-06-05 Thread Kevin Meltzer

Um.. what did the book not cover about this? We used DBI to connect to
MySQL in about every chapter. What did the simple example on page 57
not provide for connecting to a DB?

Cheers,
Kevin

On Wed, Jun 05, 2002 at 11:12:13AM -0700, Maureen E Fischer ([EMAIL PROTECTED]) said 
something similar to:
 
 
 I am writing my first CGI application and after analysis of the data
 structure that is required I determined that a DBM file would not be
 sufficient.  Mysql was suggested to me.  Unfortunately I could not find
 A book that seemed based on Perl and sql.  Everything I found connected
 Mysql to PHP -- which I know nothing about.  Since I am new to almost
 Everyting except some ancient languages and systems I didn't want to 
 Bite off yet another learning experience just yet.  I did find and
 purchase Writing CGI Applications with Perl, which did have a chapter
 on sql, but since I am having trouble with my first connect I think I
 will need more
 Help then the brief chapter can give me.  Any suggestion would
 Be very welcome.  
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I think you should leave it up to the parent, because not all parents want to
keep their children totally ignorant. 
-- Frank Zappa (response to a question from Senator Hollings)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN - THREAD CLOSED] Re: HTML in E-mail

2002-06-04 Thread Kevin Meltzer

I was just catching up on this thread, and see that it has spiraled out
of the realm of 'on topic' for this list. Please consider this thread
closed, and take it off-list if needed. Thanks for your cooperation.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
If you were going to shoot a mime, would you use a silencer?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: The Cannons of True Faith

2002-06-04 Thread Kevin Meltzer

My function is 
let t(x) be a boolean function that established if posts are on
 topic to the list at hand.

Can we please keep posts topical, and useful to people who are
beginners at CGI, please? If your post isn't helping a beginner, DO NOT
SEND IT. Posts are getting more and more off-topic to these lists.
Please use other, more appropriate, lists for such things. You folks
are also welcome to start threads with eachother _without_ including
the list at large.

If you are unclear as to what is on topic for the list, please look
at the list FAQ (http://learn.perl.org).

Cheers,
Kevin

On Tue, Jun 04, 2002 at 10:36:55AM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 
   let f(x) be a boolean function that establishes
   whether or not topic x is a matter of 'religion'
   more than of 'best practices' and/or 'principle'
 
 and/or
 
   let g(x) be a function that returns the delta of x
   as a religious matter from principle, as opposed to the core
   component of x that is still within the scope
   of best practice 
 
   eg:
 
   my ($delta_oh_x, @list_of_canon ) = g(x);
 
 such that we would do say
 
   my ($delta_oh_x, @list_of_canon ) = g(x) unless(f(x));
 
 hence we could sort order all of the questionable bits
 
 ciao
 drieux
 
 ---
 
 for the apostate - 'canon' - with only one 'n' is the technical
 term deriving from greek denoting a bar or the measuring rod -
 hence - that which is 'canonical' 
 
 'true cannon' - with two 'n' in it - be, well, a rude way
 of denoting that the defense of the faith may be with artillery
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
You drank beer, you played golf, you watched football - WE EVOLVED!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: What is cat?

2002-06-03 Thread Kevin Meltzer

Type:
man cat

Cheers,
Kevin

On Mon, Jun 03, 2002 at 08:54:34AM -0500, Camilo Gonzalez 
([EMAIL PROTECTED]) said something similar to:
 I see the word 'cat' being used an awful lot lately here and have
 encountered it in other readings. What is cat and what is it used for?
 
 #!/usr/local/bin/perl
 print ' EOF'
  Camilo Gonzalez
  Web Developer
  Taylor Johnson Associates
   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
   www.taylorjohnson.com http://www.taylorjohnson.com/ 
  EOF
 
 
  

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
What do batteries run on?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: getting a url with perl, the url_get library?

2002-06-03 Thread Kevin Meltzer

Look at the LWP::* modules (LWP::UserAgent, or LWP::Simple, in
particular). It comes with the libnet distro on the CPAN.

Cheers,
Kevin

On Mon, Jun 03, 2002 at 04:22:17PM -0400, david ([EMAIL PROTECTED]) said 
something similar to:
 There used to be a url_get library, is there something else now? i couldn't 
 find anything on CPAN, this is a http protocol issue right? I just want to 
 have a user enter a url on a form page, then crawl that url for the specified 
 text string. Thank you
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I hate it when my foot falls asleep during the day because that
means it's going to be up all night.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Counter and scoping(?) issue

2002-05-29 Thread Kevin Meltzer

On Wed, May 29, 2002 at 03:05:36AM -0500, Roberto Ruiz ([EMAIL PROTECTED]) said 
something similar to:
 Hi, God bless you.
 
 On Tue, May 28, 2002 at 12:45:53PM -0500, Camilo Gonzalez wrote:
if ( $confirm_counter = 1){
   ^ May be this your problem?
 
 In the indicated if condition below you are allways assigning 1 to
 $confirm_counter instead of comparing it to 1. Should be:
 
 if($confirm_counter==1) {
 ...
 }
 

You don't need the quotes if you are doing a numeric check.

if($confirm_counter == 1) {
...
}

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Down that path lies madness.  On the other hand, the road to hell is
paved with melting snowballs. 
--Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: why do I get the following warning for taint

2002-05-29 Thread Kevin Meltzer

You need to have -T on the command line as well:

perl -cT script

To find out why, 'perldoc perlsec'

Cheers,
Kevin

On Wed, May 29, 2002 at 10:51:45AM -0700, Rob Roudebush ([EMAIL PROTECTED]) said 
something similar to:
 
  When I run perl -c myscript.cgi to test the syntax or perl -w ..., it produces 
this: Too late for -T option at maintenance.cgi line 1 (my line 1 is just the 
shebang line with the -T option). Does this mean that something is wrong?
 -Rob
   Carl Franks [EMAIL PROTECTED] wrote: Hi,
 This is how I do it.
 
 #!/usr/bin/perl -wT
 use strict;
 my $conf;

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Politics is the entertainment branch of industry.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Please use meaningful subjects

2002-05-23 Thread Kevin Meltzer

Or, to restate this, read the list FAQ :)
http://learn.perl.org/beginners-cgi-faq

Cheers,
Kevin

On Thu, May 23, 2002 at 08:25:53AM -0500, Robert Becker ([EMAIL PROTECTED]) said 
something similar to:
 Please use meaningful subjects for your questions! Subjects like
 'Another newbie question' and 'Yet another problem' are not meaningful.
 (This problem seems to crop up every couple months:) )
 
 Thank You 
 
 Robert Becker
 [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
You drank beer, you played golf, you watched football - WE EVOLVED!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: MIME::Lite trouble

2002-05-23 Thread Kevin Meltzer


When I get emails from those places, the HTML isn't an attachment.. it
is the body of the message. Those emails are not multipart. The body of
the message should be HTML, and the Content-Type of the email should be
text/html. 

There should be no 'text part', or any parts... if you want to mimic
the SPAM emails you are referring to.

Cheers,
Kevin

   I did take a listmember's suggestion and tried out MIME::Lite for
   including a html attachment in an email.  Unfortunately it's not doing
   what I'd like it to.  I'm trying to get a perl script to slurp in a
   ..html file and e-mail it as HTML mail, just as you'd receive from
   buy.com, amazon.com, etc.
   
   Even though when I look at the source it appears to be 
   formatted pretty
   much the same as HTML mails that work (from marketers 
   mentioned above),
   it still doesn't work!  In outlook, it only shows the text part.  I'm
   totally stumped, and I'm wondering if MIME::Lite can't do this.  I'll
   include my small test script...any help is appreciated!

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Down that path lies madness.  On the other hand, the road to hell is
paved with melting snowballs. 
--Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN - Thread closed] Re: [ Something Funnie to Read ;) ]

2002-05-16 Thread Kevin Meltzer

Funny (and somewhat true) as it may be, this is not the proper forum to
post random links which have nothing to do with Perl. Consider this
thread closed, and any future similar thread closed before it begins :)

Cheers,
Kevin

On Thu, May 16, 2002 at 03:19:00PM -0700,   Czar ([EMAIL PROTECTED]) said 
something similar to:
 Timothy,
 
 I agree.  i'll add a caption of some sort
 
 --Czar©

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
It would be easier to pay off the national debt overnight than to neutralize
the long-range effects of OUR NATIONAL STUPIDITY.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Matt Wright's formMail

2002-05-15 Thread Kevin Meltzer

Yay us! (I work for Verio)

Cheers,
Kevin

On Wed, May 15, 2002 at 08:40:45AM -0500, Camilo Gonzalez 
([EMAIL PROTECTED]) said something similar to:
 Verio, the world's largest ISP.
 
 Can you please tell me which ISP this is. I'm tring to keep a list of
 ISPs that have come to their senses and banned Matt's scripts.
 
 Dave...
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I find this a nice feature but it is not according to the documentation.
   Or is it a BUG?Let's call it an accidental feature. :-) 
-- Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Upgrading the Murder Tree Products was Re: Books

2002-05-15 Thread Kevin Meltzer

Beta? Is isn't even alpha. And yes, generally when I speak of the
future it is in terms of sometime after the present.

Cheers,
Kevin

On Wed, May 15, 2002 at 09:07:28AM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 
 On Tuesday, May 14, 2002, at 03:37 , Kevin Meltzer wrote:
 
  On Tue, May 14, 2002 at 02:44:01PM -0700, drieux ([EMAIL PROTECTED]) 
  said something similar to:
  Given that the Apocalypse is coming, you may want to wait
  until the first of the Perl6 books come out - if you are
  'book oriented', but frugal in these matters.
 
  Given that Perl6 will likely be out and production worthy long after a
  book on it is published, why would anyone want to wait for it?
 
 call me slow - but yes, reading the current online kvetchings
 about perl6 can be done now - along with some play with the
 code - but are there books on it out already even while it
 is still essentially 'beta'?
 
 or did you mean that sentance to be read in the new context
 of 'the future is futuristic'.

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Share the groove.
-- Phish (Weekapaug Groove)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: yahoo mail did't compile HTML mail

2002-05-14 Thread Kevin Meltzer

compiled like hotmail makes no sense. It is how the email client (in
this case Hotmail and Yahoo!) handle incoming email messages. If you
are not adding the proper header information, you can not expect the
client to do what you want.

Do you even know if Yahoo! handles HTML mail correctly? If it does,
then you aren't doing the Right Thing when creating the email. Proper
Content-Type header info should work. Hotmail may be displaying
whatever is in the email body (HTML, in this case), while Yahoo! is
treating it as text, since that is the default when no Content-Type is
explicitly given.

To create more robust emails, look into MIME::Lite, or some such
modules. For the web-based email system I wrote, I use MIME::Lite and
all is happy.

Cheers,
Kevin

On Tue, May 14, 2002 at 05:54:47PM +0300, messag from ESS ([EMAIL PROTECTED]) said 
something similar to:
 Thanks Alex Read
 but it didnt work.and I can;t control on the user broswes.
 
 NOTE: I want it compiled Like hotmial, the problem with yahoo
 
 Thanks agian
 =
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Not a speck of cereal.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: yahoo mail did't compile HTML mail

2002-05-14 Thread Kevin Meltzer

You need a Content-Type header.
Content-Type: text/html; charset=iso-8859-1
(or whatever your charset is)

Cheers,
Kevin
 
On Tue, May 14, 2002 at 04:28:44PM +0300, messag from ESS ([EMAIL PROTECTED]) said 
something similar to:
 hi all
 I konw you havn't much time then I will begain directly
 Probem is:
 1- I make a program to send a mail.
 2- I send an HTML mail normaly to yahoo and hotmail.
 3- The hotmail compile it and display as a web bage.
 4- The yahoo did't compile it and display the HTML source !.
 
 Needed:
 1- why yahoo mail did not compile it.
 2- solve of this problem, or a way to solve it.
 
 --- START source---
 My source is:open(MAIL,|$mailp -t);
 print MAIL To: $email\n;
 print MAIL From: $wemail\n;
 print MAIL Subject: $subject\n\n;
 print MAIL $contents\n;
 close (MAIL);
 --- END source---
 
 THANKS FOR YOUR HELP

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Life Is Pain, Highness.  Anyone who says otherwise is selling something.
-- The Dread Pirate Wesley, in the Princess Bride.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Upgrading the Murder Tree Products was Re: Books

2002-05-14 Thread Kevin Meltzer

On Tue, May 14, 2002 at 02:44:01PM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 Given that the Apocalypse is coming, you may want to wait
 until the first of the Perl6 books come out - if you are
 'book oriented', but frugal in these matters.

Given that Perl6 will likely be out and production worthy long after a
book on it is published, why would anyone want to wait for it?

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I'm hopeful. I know there is a lot of ambition in Washington, obviously. But I
hope the ambitious realize they are more likely to succeed with success as
opposed to failure.
-- G.W. Bush, Interview with the AP 01/18/2001

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Matt Wright's formMail

2002-05-13 Thread Kevin Meltzer

try the rewrite from NMS:

http://nms-cgi.sourceforge.net/

Cheers,
Kevin

On Mon, May 13, 2002 at 10:07:54AM -0500, Camilo Gonzalez 
([EMAIL PROTECTED]) said something similar to:
 I've just been informned by my ISP that Matt Wright's formMail will no
 longer be allowed on any of their servers due to glaring security concerns.
 I know now I shouldn't have used it but back then I was stupid and not a
 subscriber to this fine list. Let this serve as a warning to those still
 using his crap. Does anyone have the URL of that site that offers
 alternatives to Matt's scripts?
 
 #!/usr/local/bin/perl
 print ' EOF'
  Camilo Gonzalez
  Web Developer
  Taylor Johnson Associates
   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
   www.taylorjohnson.com http://www.taylorjohnson.com/ 
  EOF
 
 
  

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Disciple   - Master, why isn't everything perfect?
Zen Master - It is.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Matt Wright's formMail

2002-05-13 Thread Kevin Meltzer

On Mon, May 13, 2002 at 09:14:03AM -0700, drieux ([EMAIL PROTECTED]) said something 
similar to:
 which version of the code is the 'problem' version?
 
 what is the current specific 'security' issue?
 
 there was a security update to v1.92 on 04/21/02
 has there been some new issue arise??? since then?

Does it matter? They are scripts by Matt.. recurring security issues,
and (unless he has done some MAJOR reworking) they are written in Perl
4. Why would anyone want to run these in production?

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
My PID is Inigo Montoya. You kill -9 my parent process. Prepare to vi.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [sorta OT] Re: Matt Wright's formMail

2002-05-13 Thread Kevin Meltzer

Ack.. I used to have a nice long, detailed reason why (I think I may
have sent it to someone on this list at some point who asked me the
same question). 

To sum up.. Matts code is bad. It has various security holes, is not
maintained, and is in Perl 4. The 'vendetta' has come from years of him
NOT removing his scripts from the internet (spreading cargo-cult
programming), and not updating them accordingly. When someone is new to
Perl (like yourself) you may just say Hey, here are some free scripts
I can use! YAY! and not know they are outdated, poorly programmed,
barely supported, and are know to have recurring security issues. As
well, his code should not be used by beginners to learn how to program
in Perl. Instead, it should be (and is) used in talks of what not to
do. 

Many of us in the Perl community have repeatedly asked him to either
rewrite his code fully, or simply remove it from his site. He has, each
time, either ignored or flatly refused to do so. This is why NMS was
finally started.

So, it is the security concerns, as well as the others I mentioned.
Someone else may even have a few I have forgotten. I hope this answers
your question :)

BTW folks, please do not turn this into an ever-going Matt bashing
thread.. or I will be forced to close it (trying to be preventative
here). 

Cheers,
Kevin

On Mon, May 13, 2002 at 01:45:06PM -0700, Michael Kelly ([EMAIL PROTECTED]) said 
something similar to:
 Ok, I have a question now: What, exactly, started the vendetta that the
 entire Perl community seems to have against Matt's Script Archives? Is it
 the constant security concerns, or is there something else?
 
 At the moment, MSA at its worst doesn't seem nearly as bad as, say,
 Microsoft.
 
 I'm not trying to defend MSA, it's just that I've seen endless trash talked
 about it, and, being a relative newcomer to the Perl scene, I'm curious as
 to where it all started.
 
 Thanks,
 -- 
 Michael
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
All people have the right to be stupid, some people just abuse it!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Matt Wright's formMail

2002-05-13 Thread Kevin Meltzer

Heya,

On Mon, May 13, 2002 at 04:42:55PM -0700, Bruce Ferrell ([EMAIL PROTECTED]) said 
something similar to:
 Just to throw jet fuel on the fire... cuz they come up on a google
 search for:
 
  cgi perl counter
 
 and nms doesn't! :)

And that is one of the problems some in the community have had with
Matt :) People put that type of search in, see those scripts, and use
them. He has been asked to remove his scripts and point to other,
similar, scripts which have been OK'd by the community at large. But,
he hasn't. I have emailed him no less than half a dozen times myself,
all ignored.

But, luckily y'all have this list to enlighten you :)
 
 Just for the record, when I started using MSA, over 4 years ago nms
 didn't exist and I used them for the reasons listed above.  I was a
 sysadmin, am a sysadmin and my job isn't to audit every stick of code in
 the world... It's to run systems as securly as possible.  Until I hear
 something about a serious deficit in a chunk of code, I use it.

I'm well aware of how sysadmins just use code they find :) Part of my
living is made from fixing/re-writing such code. I think this is a
greater problem with many IT people.. blindly using code which they
don't understand. When you have the source, and you don't understand
it, people should use lists, newsgroups and peers to have someone
review it to see if it is really acceptable production code. But, hey..
I live in a fantasy world where production code is reviewed, tested,
portable, and uses common practices :)

Cheers,
Kevin (from Kevtopia)


 Kevin Meltzer wrote:
  
  On Mon, May 13, 2002 at 09:14:03AM -0700, drieux ([EMAIL PROTECTED]) said 
something similar to:
   which version of the code is the 'problem' version?
  
   what is the current specific 'security' issue?
  
   there was a security update to v1.92 on 04/21/02
   has there been some new issue arise??? since then?
  
  Does it matter? They are scripts by Matt.. recurring security issues,
  and (unless he has done some MAJOR reworking) they are written in Perl
  4. Why would anyone want to run these in production?
  
  Cheers,
  Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
BASIC is the Computer Science equivalent of `Scientific Creationism'.
-- BSD fortune file

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Handling Charset

2002-05-02 Thread Kevin Meltzer

I rolled my own module to handle i18n issues with email, and parsing
strings such as that. One of the MIME::* or Mail::* modules may do it,
but I didn't see any which did it (which is why I did  my own).

Basically, you need to parse out the bits of the string (not hard)..
then take the encoded part, either base64 or quote-print decode it (the
B or Q), then convert the charset to what you want (I used Text::Iconv
to go from charset to charset). 

You will have to loop through the string, since it may contain various
encodings. Something like:

while ($string =~ s!(.*?)=\?(.+?)\?(.)\?(.*?)\?=(.*?)!!is) { .. parsing
and decoding .. }

I use MIME::Base64 and MIME::QuotedPrint for the decoding. Anyways,
that should get you started. You may also want to ask on the perl-i18n
list for these types of things, you can also email me directly since
this isn't really a beginners question (unless you ONLY want to parse
the string) and I have a lot of experience with this.

Cheers,
Kevin

On Thu, May 02, 2002 at 05:27:03PM +0200, gross, cedric ([EMAIL PROTECTED]) said 
something similar to:
 Hello,
 
 How to handle this kind of string :  =?iso-8859-1?Q? Is there a perl
 module to manage  that ?
 
 Thanks for your answer.
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I went to a general store.  They wouldn't let me buy anything
specifically.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Email validation syntax

2002-05-01 Thread Kevin Meltzer

Take a look at Email::Valid

Cheers,
Kevin

On Wed, May 01, 2002 at 03:43:07PM -0400, McElwee, Shane ([EMAIL PROTECTED]) said 
something similar to:
 Below I've a regular expression that checks the syntax of an email address.
 The problem I'm having is with the underscore _ . I've tried some
 different forms of syntax but I know its something simple I'm missing. I
 think I've been looking at it too long. The validator should allow usernames
 with periods and underscores. Any ideas?
 
 next if (!/^[\w][\w\._-]*@[\w\.-]+$/)
 
 Cheers
 
 Shane
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
All people have the right to be stupid, some people just abuse it!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Checking and email address

2002-04-16 Thread Kevin Meltzer

If you want to see if a variable contains a @, do what the other
suggested. If you want to see if you have (at least) a well formed
email address (with optional MX host checking) look at Email::Valid.

Cheers,
Kevin

On Mon, Apr 15, 2002 at 11:58:11PM -0400, Daniel Falkenberg ([EMAIL PROTECTED]) said 
something similar to:
 Hello All,
 
 How would I go about checking to see if a variable contains an @ symbol?
 
 $email = [EMAIL PROTECTED];
 
 if ($email ne @ || $email eq ) {
  print Please make sure your type your email address in correctly;
 } else {
   print All is OK;
 }
 
 Thx,
 
 Dan
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I keep looking for the Crash after viewing X pages settings in Netscape, but
I just can't find it.
-- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Happy List Anniversary

2002-04-15 Thread Kevin Meltzer

Hey folk,

This list has now been around for just over a year. It was created on
April 11, 2001 and announced on use Perl; a few days later. Considering
the number of people on here, there have been minimal issues with
flaming, OT posts, and general mayhem (let's keep it up!). In all, based
on private feedback I have gotten and public feedback, this is a
kick-arse list for beginners and helpers alike. Good job folks, I think
we have done a fine job at making this a comfortable forum for
beginners to ask questions.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
What do batteries run on?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Question about this list

2002-04-15 Thread Kevin Meltzer

http://nntp.perl.org/group/perl.beginners/

Cheers,
Kevin

On Mon, Apr 15, 2002 at 12:51:32PM -0700, Troy May ([EMAIL PROTECTED]) said 
something similar to:
 Is there a way that I can have access to this list without receiving 150
 emails a day?  In other words, if I un-subscribe, does that mean that I
 can't use it anymore?  Or does it just mean that I won't receive all these
 emails but will still be able to post a question?
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
If you saw a heat wave, would you wave back?
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Help with MIME::Lite module

2002-04-12 Thread Kevin Meltzer

Take the single quotes off of $nhtmlpage.. the variable isn't being
interpolated.

Cheers,
Kevin

On Fri, Apr 12, 2002 at 08:56:15AM -0400, FLAHERTY, JIM-CONT 
([EMAIL PROTECTED]) said something similar to:
 I am wanting to send HTML reports to clients that can read html mail.
 In the Data section is where you put the body of the message . If I type
 html tag and text it works fine. but when I try to add a variable the body
 of the message has
  
$nhtmlpage  
  
 nothing on whats in the variable. Help 
  
 code 
  
  
  
 my $msg = MIME::Lite-new(
From   = '[EMAIL PROTECTED]'
 mailto:'[EMAIL PROTECTED]' ,
To = '[EMAIL PROTECTED]'
 mailto:'[EMAIL PROTECTED]' ,
Cc = '[EMAIL PROTECTED]' mailto:'[EMAIL PROTECTED]' ,
Subject= 'Morning Trouble Call report',
Type   = 'text/html',
Data   = '$rhtmlpage'
  
   );
  
 $msg-send();
  
  
  
  

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Luke, you're going to find that many of the truths we cling to depend greatly
on our own point of view.
Obi-Wan Kenobi, ROTJ 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Taint Mode

2002-04-04 Thread Kevin Meltzer

Hi Andrew,

Please read the perlsec man page (perldoc perlsec) to learn about -T.
If something still isn't clear, ask for some clarification.

@INC is an array Perl uses to hold a list  of directories which it will
search for modules which are 'use'-ed or 'require'-ed.

perl -wle 'print $_ . \n for @INC';

And, after you have read perlsec (why do I always type that as perlsex
first?) you will be able to know why :

perl -Twle 'print $_ . \n for @INC';

Gives slightly different output.

Cheers,
Kevin
On Wed, Apr 03, 2002 at 02:49:10PM -0800, Andrew Rosolino ([EMAIL PROTECTED]) said 
something similar to:
 What does the -T Switch do? Please explain as you
 would to a newbie, watch the fancy words.
 
 also, what is perl's search path  @INC?
 
 Thank You, Andrew
 
 __
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I hate it when my foot falls asleep during the day because that
means it's going to be up all night.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Perl for Mac

2002-03-07 Thread Kevin Meltzer

Assuming you are on OS X, what's wrong with vi? Or emacs?

Cheers,
Kevin

On Thu, Mar 07, 2002 at 10:02:16PM +, Naveen Parmar ([EMAIL PROTECTED]) 
said something similar to:
 Any good text editors for Mac?
 
 I am interested in something that will display at least line #s.

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
What is the sound of Perl?  Is it not the sound of a wall that
 people have stopped banging their heads against?
--Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN REDIRECT] Re: Regular Expressions

2002-02-20 Thread Kevin Meltzer

Hello,

I am redirecting this question from beginners-cgi to beginners. Please respond
to the original poster ([EMAIL PROTECTED]) and the beginners list. Please
remember that non-CGI related questions should not be send to beginners-cgi.
Thanks.

Cheers,
Kevin

On Wed, Feb 20, 2002 at 01:13:55PM -0300, Lilian Alvarenga Caravela Godoy 
([EMAIL PROTECTED]) said something similar to:
 Hi everyone
 
 I am trying to learn Perl looking into some scripts.
 
 One of them has a regular expression inside.
 
 First of all, I need to know what two specific lines are doing. The code is
 bellow.
 
 $req =~ s/\r//g ;
 $req =~ s/([^\n]{72,72})\n([^\n]{1,71})\n([^\n]{1,71})$/$1\n$2$3/
 
 I know they are replacing some things but cannot understand what. Specially
 the second one.
 
 I would really appreciate if somebody could explain to me what that regular
 expression means. It is kind of an emergency.
 
 And, if someone knows a link where there is more information about regular
 expressions, I would be grateful.
 
 Thanks in advance.
 
 Lilian

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Everywhere is walking distance if you have the time.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN REDIRECT] Re: Regular Expressions

2002-02-20 Thread Kevin Meltzer

Hello,

I am redirecting this question from beginners-cgi to beginners. Please respond
to the original poster ([EMAIL PROTECTED]) and the beginners list. Please
remember that non-CGI related questions should not be send to beginners-cgi.
Thanks.

Cheers,
Kevin

On Wed, Feb 20, 2002 at 01:13:55PM -0300, Lilian Alvarenga Caravela Godoy 
([EMAIL PROTECTED]) said something similar to:
 Hi everyone
 
 I am trying to learn Perl looking into some scripts.
 
 One of them has a regular expression inside.
 
 First of all, I need to know what two specific lines are doing. The code is
 bellow.
 
 $req =~ s/\r//g ;
 $req =~ s/([^\n]{72,72})\n([^\n]{1,71})\n([^\n]{1,71})$/$1\n$2$3/
 
 I know they are replacing some things but cannot understand what. Specially
 the second one.
 
 I would really appreciate if somebody could explain to me what that regular
 expression means. It is kind of an emergency.
 
 And, if someone knows a link where there is more information about regular
 expressions, I would be grateful.
 
 Thanks in advance.
 
 Lilian

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Everywhere is walking distance if you have the time.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Email Validation

2002-02-19 Thread Kevin Meltzer

On Tue, Feb 19, 2002 at 03:53:57PM -0800, Roger Morris ([EMAIL PROTECTED]) said 
something similar to:
 I hadn't found that module when I was searching the net.  the 
 Email::Validdoesn't catch the @this_host.com  It also doesn't catch | 
 in the email, which I would've thought shouldn't be permitted.
 I'll keep digging.

No, it doesn't. But, if I recall, @this_host.com is valid email address syntax,
even though domain names can't (currently) contain the _ character. So,
Email::Valid is sticking to RFC822 (http://www.faqs.org/rfcs/rfc822.html). This
is why I mentioned that Email::Valid has MX host checking, which is where
@host_name.com would fail (since there is not, and can not be a host_name.com
MX record).

Cheers,
Kevin


-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I gained nothing at all from Supreme Enlightenment, and for that very
reason it is called Supreme Enlightenment.
-- Gautama Buddha

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Removal from list

2002-02-12 Thread Kevin Meltzer


http://learn.perl.org/ (click on FAQ)
It is also mailed to the list every week.

Cheers,
Kevin 

On Tue, Feb 12, 2002 at 08:26:08AM -0800, James Lucero ([EMAIL PROTECTED]) said 
something similar to:
 Where is the FAQ?

---
[Writing CGI Applications with Perl - http://perlcgi-book.com]
You have just destroyed one model XQJ-37 nuclear powered pansexual
roto-plookerand you're gonna have to pay for it.
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN] How do I Configure Perl for use with a Personal +Web Server?

2002-01-30 Thread Kevin Meltzer

Hello,

This is not a mailing list to have holy wars over OSs on. It is not a mailing
list to say what your favorite OS is, and why you dislike others. It is a place
to get _friendly_ and (hopefully) useful advice. If you type a response which
is neither friendly nor useful, don't send it to the list. Please read the list
FAQ on posting guidlines.

Unless you have an actual answer for the original poster, do not respond to
this thread. Thanks for your cooperation.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
It looks just like a Telefunken U-47!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: scheduling

2002-01-08 Thread Kevin Meltzer

man cron

Cheers,
Kevin

On Tue, Jan 08, 2002 at 08:07:04AM -0600, Camilo Gonzalez 
([EMAIL PROTECTED]) said something similar to:
 Unix IRIX
 
 -Original Message-
 From: Matthew Keen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 07, 2002 7:28 PM
 To: 'Camilo Gonzalez'; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: scheduling
 
 
 Camilo,
 
 What operating System are you ftp'ing from ???
 
 -Original Message-
 From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 8 January 2002 9:46 AM
 To: '[EMAIL PROTECTED]'; Camilo Gonzalez
 Cc: [EMAIL PROTECTED]
 Subject: RE: scheduling
 
 
 How can I find out about cron?
 
 -Original Message-
 From: fliptop [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 07, 2002 4:30 PM
 To: Camilo Gonzalez
 Cc: [EMAIL PROTECTED]
 Subject: Re: scheduling
 
 
 Camilo Gonzalez wrote:
 
  Anyone know of a module or method that will run a Perl script on a given
  time each day? I need to FTP a file from one site to another daily and I
 was
  hoping to automate it.
 
 
 can you write a cron job to do it?
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 IMPORTANT NOTICE:
 This e-mail and any attachment to it is intended only to be read or used by
 the named addressee.  It is confidential and may contain legally privileged
 information.  No confidentiality or privilege is waived or lost by any
 mistaken transmission to you.  If you receive this e-mail in error, please
 immediately delete it from your system and notify the sender.  You must not
 disclose, copy or use any part of this e-mail if you are not the intended
 recipient.  The RTA is not responsible for any unauthorised alterations to
 this e-mail or attachment to it.  
 
 
 IMPORTANT NOTICE:
 This e-mail and any attachment to it is intended only to be read or used by
 the named addressee.  It is confidential and may contain legally privileged
 information.  No confidentiality or privilege is waived or lost by any
 mistaken transmission to you.  If you receive this e-mail in error, please
 immediately delete it from your system and notify the sender.  You must not
 disclose, copy or use any part of this e-mail if you are not the intended
 recipient.  The RTA is not responsible for any unauthorised alterations to
 this e-mail or attachment to it.  
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I mean, there needs to be a wholesale effort against racial profiling, which
is illiterate children.
-- G.W. Bush, 2nd Presidential Debate 10/11/2000

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN - THREAD CLOSED] C vs. Perl

2002-01-02 Thread Kevin Meltzer

Hello folks,

I am closing this thread. Although it is a very interesting conversation to
have with people, this really isn't the place for it. Feel free to continue it
off-list with interested parties, but consider this thread closed and do not
respond to the list itself. Thanks for your cooperation.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
This Too Shall Pass
-- inscription on the inside of King Solomon's Ring.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: extract uptime for linux box w/perl

2001-12-20 Thread Kevin Meltzer

Am I just the overly paranoid one? But IMO doing this can be dangerous.
Tainting isn't just for CGIs, and adding a -T to this shows it can be
dangerous ($ENV{PATH} issue, since you don't really know what uptime you will
end up calling). Again, I may be the overly-paranoid (read safe) one :)

Cheers,
Kevin

On Thu, Dec 20, 2001 at 12:16:49AM -0800, John W. Krahn ([EMAIL PROTECTED]) said 
something similar to:
 Or simply:
 
 perl -le'print join,,(split/,/,`uptime`)[0..2]'
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Stupidity is the basic building block of the universe.  
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Is there a real person in charge of this list?

2001-12-20 Thread Kevin Meltzer

These requests should be sent to [EMAIL PROTECTED] Also, please make
sure you have tried all the ways to unsubscribe which are shown in the FAQ, as
well as the tool on the http://learn.perl.org website.

Cheers,
Kevin

On Thu, Dec 20, 2001 at 02:04:19PM -, Watkiss, Stewart ([EMAIL PROTECTED]) 
said something similar to:
 Hello,
  
 I've tried to unsubscribe from this list as I am unable to keep up with the
 amount of traffic (and it's causing me to hit my email storage limits).
 However everytime I try to use the listserver unsubscribe process it fails
 due to either outlook or my companies email servers stripping some of the
 content of my email subject.
  
 Please can whoever is responsible for this list either contact me or just
 unsubscribe me from the list. 
  
 Thanks
 Stewart
 
 This message and any attachments to it contain confidential business
 information intended solely for the recipients. If you have received this
 email in error please do not forward or distribute it to anyone else, but
 contact [EMAIL PROTECTED] to report the error, and then delete this
 message from your system.
 
  

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I replaced the headlights in my car with strobe lights, so it
looks like I'm the only one moving.
-- Steven Wright

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN] Cross posting

2001-12-13 Thread Kevin Meltzer

Hello,

I would like to ask people to be more mindful about cross-posting to both the
'beginners' and the 'beginners-cgi' lists. In other words, don't. The
'beginners' list is meant for Perl questions, not Perl/CGI questions. We added
the 'beginners-cgi' list in order to handle the Perl/CGI related questions.
When posting, please post to the relevant list *only*. Thanks for your
cooperation.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I keep looking for the Crash after viewing X pages settings in Netscape, but
I just can't find it.
-- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [ADMIN] Cross posting

2001-12-13 Thread Kevin Meltzer

That is in the FAQ, which everyone should have read, and shouldn't need to be said
on the list. Actually, I seem to have left it out of the beginners-cgi FAQ and
will add it in. For those of you only on the beginners-cgi list, until it is in
the FAQ, have useful subjects :)

Cheers,
Kevin

On Thu, Dec 13, 2001 at 01:14:29PM -0500, Etienne Marcotte ([EMAIL PROTECTED]) said 
something similar to:
 May I add one other thing?
 Sorry if this is posted on both lists, but it's useful for everyone.
 
 PLEASE post mails with a *descriptive* subject!
 
-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called `brightness', but it doesn't work.
-- Gallagher 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN] Cross posting

2001-12-13 Thread Kevin Meltzer

Hello,

I would like to ask people to be more mindful about cross-posting to both the
'beginners' and the 'beginners-cgi' lists. In other words, don't. The
'beginners' list is meant for Perl questions, not Perl/CGI questions. We added
the 'beginners-cgi' list in order to handle the Perl/CGI related questions.
When posting, please post to the relevant list *only*. Thanks for your
cooperation.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I keep looking for the Crash after viewing X pages settings in Netscape, but
I just can't find it.
-- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [ADMIN] Cross posting

2001-12-13 Thread Kevin Meltzer

That is in the FAQ, which everyone should have read, and shouldn't need to be said
on the list. Actually, I seem to have left it out of the beginners-cgi FAQ and
will add it in. For those of you only on the beginners-cgi list, until it is in
the FAQ, have useful subjects :)

Cheers,
Kevin

On Thu, Dec 13, 2001 at 01:14:29PM -0500, Etienne Marcotte ([EMAIL PROTECTED]) said 
something similar to:
 May I add one other thing?
 Sorry if this is posted on both lists, but it's useful for everyone.
 
 PLEASE post mails with a *descriptive* subject!
 
-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called `brightness', but it doesn't work.
-- Gallagher 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: accessing ASP functionality through Perl/CGI

2001-12-10 Thread Kevin Meltzer

Hi Molly,

On Mon, Dec 10, 2001 at 01:11:06PM -0800, Molly Magai ([EMAIL PROTECTED]) said 
something similar to:
 Does anyone know how to have a cgi script send a POST request to an
 unrelated Web page?

Have you looked at the LWP::* modules?
 
 Here's why: We're getting a new NT server. We currently run our pages on
 CGI scripts, but we're planning to move all our hosting to ASP in the
 next few months. In the meanwhile, we'll be running CGI on the new

(ASP and Perl are both forms of CGI scripting) 

 server. Since ASP has a built-in mail function, my boss doesn't want to

ASP has it's own mail server built-in? Scary.

 I'd love to hear from anyone who has the experience to tell me: Is my
 boss brilliant, or crazy? Can this be done, and if so, how?

Why are you moving from Perl to ASP? Perl does run fine under NT (with IIS and
Apache). Anyways, look into the LWP modules which should help you with this
problem.
 
 (By the way, i'm aware that cheaper alternatives to SendMail exist -
 we're looking into that too.)

Why do you need to have the webserver and the mail server on the same box? A
small FreeBSD (Linux, etc...) box running SendMail or Postfix (what I use)
outside of the web server is pretty logical.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Never laugh at a live dragon.
-- The Hobbit

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Help with Perl

2001-12-05 Thread Kevin Meltzer

Hello Andy,

if ($letter =~ /[A-L]/) {
blah
}

See Also:
perldoc perlre

Cheers,
Kevin

On Wed, Dec 05, 2001 at 02:16:37PM -0500, Nguyen, Andy ([EMAIL PROTECTED]) 
said something similar to:
 Hi List,
 
 I am new to perl and looking for a shortcut way of doing this.
 
 # $letter could be any letter from A to L.
 if ( $letter eq A || $letter B || $letter C || $letter eq D  || 
$letter eq L )
 {
   do something
 }
 
 I really don't want to repeat $letter for every letter (B-L).
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Seen the city, seen the zoo, traffic light won't let me through.
-- Phish (Slave to the Traffic Light)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Help with Perl

2001-12-05 Thread Kevin Meltzer

Dag nabbit.. forgot the anchors :)

if ($letter =~ /^[A-L]$/) {

--
Hello Andy,

if ($letter =~ /[A-L]/) {
blah
}

See Also:
perldoc perlre

Cheers,
Kevin

On Wed, Dec 05, 2001 at 02:16:37PM -0500, Nguyen, Andy ([EMAIL PROTECTED]) 
said something similar to:
 Hi List,
 
 I am new to perl and looking for a shortcut way of doing this.
 
 # $letter could be any letter from A to L.
 if ( $letter eq A || $letter B || $letter C || $letter eq D  || 
$letter eq L )
 {
   do something
 }
 
 I really don't want to repeat $letter for every letter (B-L).
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
The California crunch really is the result of not enough power-generating
plants and then not enough power to power the power of generating plants.
-- G.W. Bush, Interview with New York Times 01/14/2001

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN THREAD CLOSED] Re: (End this thread) Re: Fwd: Fw: PLEEEEEEEASE READ!!!

2001-12-04 Thread Kevin Meltzer

Hi folks. I was hoping this would die out gracefully, but alas it has not.
Let's consider this thread CLOSED and move on. Thanks for your cooperation.

Cheers,
Kevin

On Mon, Dec 03, 2001 at 11:23:39AM -0800, Curtis Poe ([EMAIL PROTECTED]) said something 
similar to:
 End this thread, please.  If you have something to say to this individual, please do 
so privately.
  Yes, the spam was innapropriate, but I find it a bit ironic that the spam-haters 
have generated
 so much, uh, spam.
 
 --- lynn bui [EMAIL PROTECTED] wrote:
  hey,
  
  this does not concern perl, but maybe you should read
  it.
  it may be true and if so it's a really good deal.
  
  Note: forwarded message attached.

[snip]

--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
We all agree on the necessity of compromise.  We just can't agree on
 when it's necessary to compromise.
--Larry Wall in  [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [OT] SUBJECTS! (was: Any takers,...)

2001-12-01 Thread Kevin Meltzer

This is not an elitist remark, however I will also remind people that it is in 
the list FAQ (section 2.9) to have a meaningful subject.
Everyone should read the FAQ before posting.

Cheers,
Kevin

On Sat, Dec 01, 2001 at 05:20:34PM +0100, Jenda Krynicky ([EMAIL PROTECTED]) said 
something similar to:
 From: AMORE,JUAN (HP-Roseville,ex1) [EMAIL PROTECTED]
 Subject:  Any takers,...
 
 Pretty please ... could you use an INFORMATIVE SUBJECT ???
 
 From now on I'm deleting all (no subject), Please help, Any 
 takers, Help beginner, New at Perl, Need some serious help, 
 etc. etc. etc. messages without opening.
 
 And I'd like to ask everybody else to do the same. Otherwise we 
 end up with one hundred mails with no information in subject every 
 day.
 
 If you want us to help you then at least take the time to make up a 
 subject !
 
 Jenda
 
 P.S.: If anyone thinks this was an elitist remark or that I flamed a 
 poor inocent newbie ... you might be right up to a point.
 But keep in mind that we give you our time and we only have a 
 certain amount to give. So the less time we spend reading mails 
 that we can't answer (I've never used Tk so I can't help you with it. 
 I'm a Windoze guy so I'm not gonna help with Unix specific things, 
 etc.) the more time we can spend answering other ones. 
 
 Also I usualy scan the nightly load of mails for names and problem 
 areas of my modules and read those first. I'd think others do the 
 same. So if you give your mail a real subject you'll get an answer 
 sooner.
 
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Who are the brain police?
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Question

2001-11-28 Thread Kevin Meltzer

On Wed, Nov 28, 2001 at 12:38:48PM -0500, [EMAIL PROTECTED] 
([EMAIL PROTECTED]) said something similar to:
 Hello,
 
 Can anyone tell me why he/she will choice PERL over PHP?

Personally, I didn't like using PHP when I *had* to. No sir, I didn't like it.
This was a recent thread on the beginners-cgi list. To get some opinions taks a
peek at the archive:

http://archive.develooper.com/beginners-cgi%40perl.org/msg03121.html
http://archive.develooper.com/beginners-cgi%40perl.org/msg03117.html

 What is the difference between mysql and MySQL  (case sensitivity)?

Unless I missed a new product along the line, mysql is just a non-correct-case
for MySQL.

 Lastly what is a good book for a developer who is interested in
 implementing
 a WEB-based database using MySQL and PERL?

(Shameless plug...) Writing CGI Applications with Perl

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I do remain confident in Linda. She'll make a fine labor secretary. From what
I've read in the press accounts, she's perfectly qualified.
-- G.W. Bush, Austin, TX 01/08/2001

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Send e-mail attachment

2001-11-27 Thread Kevin Meltzer

Or, just use MIME::Lite or another module which does these things for you :)

Cheers,
Kevin

On Tue, Nov 27, 2001 at 09:20:35AM -0600, Tomasi, Chuck ([EMAIL PROTECTED]) said 
something similar to:
 Here's one I can answer!  I agonized over this for weeks, but finally got a
 decent solution that I use every day!
 
 For a binary file I would recommend use MIME:Base64.  An example is
 provided.
 
 Notes:
   o You'll want to use multi-part MIME encoding (hence the use of
 MIME::Base64).  You could use quotable-printable, but you'll have to do some
 character translation and it gets yucky real fast.
   o Take note that the filename is mentioned twice.  You can provide
 that any way you want.
   o The number in $boundry is up to you.  Just make it unique and
 consistent throughout the message.  The number of dashes is fixed and must
 follow the format given.
   o Change the path of sendmail to your own sendmail program.
 
 --
 use MIME::Base64;
 
 open(F_MAIL, |/usr/sbin/sendmail -t);
 
 $boundary=--90125;
 print F_MAIL END_OF_MAIL;
 Precedence: list
 From: $FROMUSER $FROMEMAIL
 To: $TOUSER $TOEMAIL
 MIME-Version: 1.0
 Subject: File attachment test
 Content-Type: multipart/mixed;
 boundary=\$boundary\
 
 This is a multi-part message in MIME format.
 
 --$boundary
 Content-Type: text/plain;
 charset=\iso-8859-1\
 
 Here is the body of the message.  A file attachment is also provided below.
 
 --$boundary
 Content-Type: application/octet-stream;
 name=\somefile.doc\
 Content-Transfer-Encoding: Base64
 Content-Disposition: attachment;
 filename=\somefile.doc\
 
 END_OF_MAIL
 
 open(F_LOG, $LOGFILE) || Error(Cannot open logfile for MIME encoding);
 while (read(F_LOG, $buf, 60*57)) {
 print F_MAIL encode_base64($buf);
 }
 close(F_LOG);
 
 print F_MAIL END_OF_MAIL;
 --$boundary--
 END_OF_MAIL
 
 close(F_MAIL);
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Deserve it (death)! I daresay he does. Many that live deserve death. And some t
hat die deserve life. Can you give it to them? Then do not be too eager to deal
out death in judgement. For even the wise cannot see all end.
-- Gandalf (Fellowship of the Ring)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Simple error... I think....

2001-11-27 Thread Kevin Meltzer

Hi Daniel,

On Wed, Nov 28, 2001 at 11:13:59AM +1030, Daniel Falkenberg 
([EMAIL PROTECTED]) said something similar to:
[snip]
 %users = (
'crud'  = '503',
'test'  = '45',
'test4' = '45',
'test2' = '45',
'daniel'= '45'
  );

[snip]
 
 #Check to see if #user exists
 if ( ! defined $users{$user} ) {
   print Sorry user $user does not exist! \n;
 }elsif (! defined $users{$user}{'45'} ) {
   print Sorry the user $user does not have a GID of 45! \n;
 } else {
   print Found $user! This user has a GID of 45! \n;
 }
 
 For some reason it will check the first if statement (! defined
 $users{$user}) and check this OK.  But when I get to the second if
 statement ( ! defined $users{$user}{'45'} ) it will never return true no
 matter what $user is set to?  I figured that ! defined
 $users{$user}{'45'} would return false if for example $user = crud, but
 if $user = test4 then it should return to the last else statement?

There is no $user{test4}{45}. If the hash looked like the following, there
would be:

 %users = (
'crud'  = '503',
'test'  = '45',
'test4' = {45 = 'fortyfive'},
'test2' = '45',
'daniel'= '45'
  );

You really want that statement to look like:

 }elsif ($users{$user} != 45) {


Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
And nowyou are going to dance...like you've never danced before!
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: weather

2001-11-19 Thread Kevin Meltzer

Hi Nate,

Take a look at these modules and see if any will do what you want:

http://search.cpan.org/search?mode=modulequery=Weather

Cheers,
Kevin

On Mon, Nov 19, 2001 at 01:11:39PM -0800, Nate ([EMAIL PROTECTED]) said something 
similar to:
 just a quick question, 
 
 im would like write a script that goes and gets a weather forcast, 
 does any one know a site that has plain text weather forcast. or 
 if someone who has done this before could help me out on 
 the best way to go about this..maybe? the only way i could think 
 of doing it would be with LWP::Simple; and its get function... 
 but if any one could shed some light on the subject. i would 
 be forever grateful :) thanx
 
 -nate

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Deserve it (death)! I daresay he does. Many that live deserve death. And some t
hat die deserve life. Can you give it to them? Then do not be too eager to deal
out death in judgement. For even the wise cannot see all end.
-- Gandalf (Fellowship of the Ring)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: how can i set up a simple portal?

2001-11-19 Thread Kevin Meltzer

Hi Noah,

Why not use RSS? My book has a chapter on using it, or to save money you can
look at that chapter online: http://perlcgi-book.com/sample/chapter16.pdf

A good past article from perl.com:
http://www.perl.com/pub/a/2000/01/rss.html

Also, the current article on perl.com:
http://www.perl.com/pub/a/2001/11/15/creatingrss.html 

You can find some RSS content here: http://www.xmltree.com/index.html

I also think cnn.com ha(s|d) a 'backdoor' with simple text for headlines. I don't
recall the URL, maybe someone else has it.

HTH,
Kevin

On Mon, Nov 19, 2001 at 06:36:04PM -0500, Noah ([EMAIL PROTECTED]) said 
something similar to:
 I want to make a CGI that grabs the top few headlines from major (or not)
 news sites such as the new york times and cnn, and places them as hyperlinks
 on my web page.  I know there is a lot of stuff out there to do this, but
 I'm doing this as a learning excercise, so I'd like to know if anyone has
 any ideas on doing this from scratch or knows of existing code which is very
 simple.
 
 Thanks,
 
 Noah
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Who are the brain police?
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [Fwd: RE: Sendmail alternatives]

2001-11-14 Thread Kevin Meltzer

I like postfix (postfix.org). It is pretty secure, easy to install and
maintain. It's only drawback (IMO) is that it can use a lot of inodes. Other
than that I am happier with it than I was when I used to have to configure
sendmail :) 

Cheers,
Kevin

On Wed, Nov 14, 2001 at 02:22:11PM -0800, Miles Sapp ([EMAIL PROTECTED]) said 
something similar to:
 I'm not referring to anything specific.  I don't know that much about
 it, I've just seen people say bad things about Sendmail on this mailing
 list in the past and wondered if there is something better that is in
 common use.
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
He was in a quandary...being devoured by the swirling cesspool of his own
steaming desires... uh.. the guy was a wreck
-- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Kevin Meltzer

Rat's Mouth, Florida 
(commonly known as Boca Raton, but I live outside of Fort Lauderdale)

Cheers,
Kevin

  By reading the messages everyday I can guess most of us are from United
  States right? And since there are not a lot of messages in (my) morning
  time, probably means most are from the west coast (different timezone).
 
  Am I right?
 
  I'm from Quebec, Canada.. and you?
 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: open (MYFILE, file_to_append_to.txt) or die Can't open $!\n; # which actually never dies.

2001-11-01 Thread Kevin Meltzer

On Fri, Nov 02, 2001 at 09:58:02AM +0800, feliciahk ([EMAIL PROTECTED]) said 
something similar to:
 From: Carl Rogers [EMAIL PROTECTED]
 To: shalini Raghavan [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 
  open (MYFILE, file_to_append_to.txt) or die Can't open $!\n;
 
 
 Strange ! I sees the above openings in almost every script. What I could not
 understand is the reason for putting the die statement when the above
 statement will never die. If the file is not there, it will create the
 file.
 
 Is there a legitamate reason.

Sure is:

(root@perlguy):/usr/home/kevin
# whoami
root

(root@perlguy):/usr/home/kevin
# ls -la foo.txt
-rw-r--r--  1 root  sys  0 Nov  1 21:24 foo.txt

(root@perlguy):/usr/home/kevin
# su kevin

(kevin@perlguy):/usr/home/kevin
$ ls -la foo.pl
-rw-r--r--  1 kevin  kevin  73 Nov  1 21:25 foo.pl

(kevin@perlguy):/usr/home/kevin
$ more foo.pl
#!/usr/bin/perl

open(FH, foo.txt) or die Bad boy! ($!);
close FH;
(kevin@perlguy):/usr/home/kevin

$ perl foo.pl
Bad boy! (Permission denied) at foo.pl line 3.


So, that is one reason. The person running the script may not have proper
permissions to append to a file, so the death of the script is legit. I sure
don't want 'kevin' appending to my /etc/passwd file :)

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I think you should leave it up to the parent, because not all parents want to
keep their children totally ignorant. 
-- Frank Zappa (response to a question from Senator Hollings)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: What is Auto-Vivification

2001-10-18 Thread Kevin Meltzer

On top of what Jeff said, here is an article on autoviv:

http://tlc.perlarchive.com/articles/perl/ug0002.shtml

Cheers,
Kevin


On Thu, Oct 18, 2001 at 07:10:45PM -0400, [EMAIL PROTECTED] 
([EMAIL PROTECTED]) said something similar to:
 Friends -- Could you briefly explain the term auto-vivification? I have
 seen this quite a few times in some of the responses.

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I find this a nice feature but it is not according to the documentation.
   Or is it a BUG?Let's call it an accidental feature. :-) 
-- Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: XMLParser and Perl

2001-10-17 Thread Kevin Meltzer

Hi Art,

What exactly are you looking for? You can look at the documentation for
XML::Parser, XML::Simple, or any of the other XML::* modules. There are
articles relating to XML and Perl on www.xml.com, and on www.perlmonks.com
(search for some XML QA). There are Perl/XML related mailing lists which you
can find on lists.perl.org. Hope this helps, some more detail of what you are
looking to do with Perl and XML could likely help us steer you in the right
direction.

Cheers,
Kevin

On Wed, Oct 17, 2001 at 05:18:13PM -0500, Art Saucedo ([EMAIL PROTECTED]) said 
something similar to:
 Is there such information and where can we look it up.
 
 
 Thanks!
 
 [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called `brightness', but it doesn't work.
-- Gallagher 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ADMIN] Re: Everyone please move on.... RE: Sh*t!!!!!!!!

2001-10-11 Thread Kevin Meltzer

This thread has been closed. Take it off-list. Everyone chiming in with their
$.02 will not solve anything, and does not help the signal/noise ratio of the
list. Thank you for your cooperation.

Cheers,
Kevin

On Thu, Oct 11, 2001 at 01:26:06PM -0400, aurillo, gabriel ([EMAIL PROTECTED]) 
said something similar to:
 Whether the unsubscribe script works or not, the real issue is whether one
 can articulate one's thoughts without resorting to profanity. Anyone who
 thinks cuss words will make him/her sound smarter than the holier than
 thou, is completely missing the point - no one professes perfection here.
 Point out the mistakes -- without being belligerent. Otherwise, don't say
 you're being helpful. Just go away...
 
 
 -Original Message-
 From: padula, domenic 
 Sent: Thursday, October 11, 2001 12:58 PM
 To: '[EMAIL PROTECTED]'
 Subject: FW: Everyone please move on RE: Sh*t
 
 Perhaps but WE can't help you.  It should be taken offline with an
 administrator for the courtesy of others on this list.
 
 -Original Message-
 From: Chris Wilson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 11, 2001 12:18
 To: padula, domenic
 Subject: Re: Everyone please move on RE: Sh*t
 
 
 No, let's not move on yet, maybe it isn't clear to all you holier than
 thou programming shit heads that there is a PROBLEM with the FUCKING
 unsubscribe script! It does not work for
 everyone
 
 !!!
 
 padula, domenic wrote:
 
 How about we just stop commenting on this.  Most of us would like to
 move on get back to Perl questions.
 
 -Original Message-
 From: Chuck [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 10, 2001 20:41
 To: Inspirational Michael; Kipp, James; [EMAIL PROTECTED]
 Subject: Re: Shit
 
 
 Jeezzuuzz.
 
 This message assumes you are familiar with common GUI mail clients and
 can use one properly. (I know *GASP* this is a very large assumption)
 
 Okay goo-goo, here's how. aka Mailing List 101
 
 Compose a new mail message by clicking the cute little Create Mail
 icon. In the To: field, cut and paste the following:
 [EMAIL PROTECTED]
 NO SUBJECT OR BODY NEEDED
 Click the Send button.
 Not sure if this applies to this list, but do it anyway:
 Wait for an automatic response.
 Highlight the message.
 Click Reply.
 Click Send.
 Wait for the confirmation message.
 Have a nice life.
 
 Sheesh. I feel like I am sending an idiot-proof howto to the
 non-techincal users in my company.
 
 - Original Message -
 From: Inspirational Michael [EMAIL PROTECTED]
 To: Kipp, James [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, October 10, 2001 12:03 PM
 Subject: Shit
 
 
 Who cares, just get me off
 - Original Message -
 From: Kipp, James [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, October 10, 2001 7:43 AM
 Subject: RE: Fuck This..
 
 
 well you are not offending me, but you do look like a jack-ass now
 
 -Original Message-
 From: Inspirational Michael [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 10, 2001 7:02 AM
 To: [EMAIL PROTECTED]
 Subject: Fuck This..
 
 
 Sorry who I offend, but I am now working to get kicked off of this
 list
 - Original Message -
 From: Grierson, Garry (UK07) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, October 10, 2001 5:07 AM
 Subject: RE: Sending someone to a new location...
 
 
 You are absolutely right, that is much shorter ;)
 I assumed James was a relatively new, newbey (sorry if I'm
 
 wrong James!)
 and
 
 tried to show as clearly as possible what was happening to make
 the connection.
 
 It is worth mentioning that if using the 'Location' header
 
 it may require
 
 the 3XX type status code if the browser doesn't
 
 automatically add this, or
 
 it may not work with some older browsers atoll, although on
 today's
 
 standard
 
 browsers there should be no trouble.
 
 I'm not trying to be facetious, honestly, but I have had
 
 these problems in
 
 the past!
 
 
 
 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 --
 The Kernel Mangler!
 
 
 
 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I keep looking for the Crash after viewing X pages settings in Netscape, 

[ADMIN] Re: F**k This..

2001-10-10 Thread Kevin Meltzer

This thread is closed. I don't think I need to say why.

When things don't seem to work for unsubscribing (you did *subscribe*
successfully) from the multiple ways and directions given in the FAQ and
website, they can contact [EMAIL PROTECTED] and make a request for
help. Looking like an ass by cussing at people on a mailing list will not get
anyone anywhere. Act like adults people.

Cheers,
Kevin

On Wed, Oct 10, 2001 at 09:40:44AM -0700, [EMAIL PROTECTED] 
([EMAIL PROTECTED]) said something similar to:
 hey, the guy is having a hard time unsubscribing from the list.  lay off.
 
 todd.
 
 On Wed, 10 Oct 2001, Kipp, James wrote:
 
  well you are not offending me, but you do look like a jack-ass now
 
   -Original Message-
   From: Inspirational Michael [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, October 10, 2001 7:02 AM
   To: [EMAIL PROTECTED]
   Subject: Fuck This..
  
  
   Sorry who I offend, but I am now working to get kicked off of
   this list
   - Original Message -
   From: Grierson, Garry (UK07) [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Wednesday, October 10, 2001 5:07 AM
   Subject: RE: Sending someone to a new location...
  
  
You are absolutely right, that is much shorter ;)
I assumed James was a relatively new, newbey (sorry if I'm
   wrong James!)
   and
tried to show as clearly as possible what was happening to make the
connection.
   
It is worth mentioning that if using the 'Location' header
   it may require
the 3XX type status code if the browser doesn't
   automatically add this, or
it may not work with some older browsers atoll, although on today's
   standard
browsers there should be no trouble.
   
I'm not trying to be facetious, honestly, but I have had
   these problems in
the past!
   
   
   
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
What is the sound of Perl?  Is it not the sound of a wall that
 people have stopped banging their heads against?
--Larry Wall in [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Fwd: [perlguy@perlguy.com: [REDIRECT] Re: Perl and secure CGI]

2001-10-09 Thread Kevin Meltzer

- Forwarded message from Kevin Meltzer [EMAIL PROTECTED] -

I am redirecting this to the cgi-beginners list, which is more appropriate.
Please send responses to the sender (Edd Dawson [EMAIL PROTECTED]) and
the cgi-beginners list. Thanks.

Cheers,
Kevin

On Tue, Oct 09, 2001 at 04:29:06PM +0100, Edd Dawson ([EMAIL PROTECTED]) said 
something similar to:
 
 Hi,
 
 I have created a secure website using Perl and the CGI module, LDAP module, 
 and HTML::Template module,
 
 Basically I authenticate a user to Novell via LDAP, then control access to 
 HTML files using HTML::template.
 
 Now I need to add controlled access to a pdf file on the server, and I'd 
 like to use a Perl method to do this similar to the template method.
 
 Has anyone else ever tried this or know of any modules that might help me 
 achieve this?
 
 Thanks for your time
 Edd Dawson
 
 
 
 --
 --
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

- End forwarded message -

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Seen the city, seen the zoo, traffic light won't let me through.
-- Phish (Slave to the Traffic Light)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Where are the archives?

2001-10-05 Thread Kevin Meltzer

Hi Andrew,

On Fri, Oct 05, 2001 at 04:26:40PM +0100, Mason, Andrew ([EMAIL PROTECTED]) 
said something similar to:
 I just felt I had to reply to this...
 
 First of all my apologies.  I would have read the FAQ if I'd known where
 to find it.  So perhaps my first posts out to have been where is the
 FAQ?

I thought that info was sent when people subscribed? Anyways, the FAQ is posted
to the list once a week. Personally, I would rather not see more attached to
the footer. This info should be in the subscription confirmation email (if it
isn't it should get there), and in the weekly FAQ posting. 

Cheers,
Kevin

 
 Another dumb question.  Who runs the list?  Maybe they could be
 persuaded to add to the auto footer the location of a) the FAQ and b)
 the achieves.  (Works on the other list to which I subscribe but the
 volume is lower).
 
 Rgds
 
 rw
 
 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I will have a foreign-handed foreign policy.
-- G.W. Bush, Redwood, CA 09/27/2000

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: anti-SSSCA petition

2001-10-03 Thread Kevin Meltzer

On Wed, Oct 03, 2001 at 03:06:33PM -0400, Bill Jones ([EMAIL PROTECTED]) said something 
similar to:
 
 I'll read and get back to the list (even thought this is way OT...)
 -Sx-
 
 PS - Maybe we could use various Perl PDF module(s) to clean it up and bring
 this back on topic?

Please do. The petition being discussed on the list is very OT, as well as
bordering on inappropriate. But, if you can come up with a way to sign it using
Perl :)

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
If affirmative action means what I just described, what I'm for, then I'm for
it.
-- G.W. Bush, St. Louis, MO 10/18/2000

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  1   2   >