$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
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. P
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 advanceme
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:
>
\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
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 the
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 ([EM
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 PROTE
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
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
quot;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: newb
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 wro
Does that behavior not seem like a bug to you? My reference is
discussions on #perl about it. I'll dig up the logs if you wish (when I
can get to that).
Cheers,
Kevin
On Mon, Aug 19, 2002 at 04:35:53PM -0700, John W. Krahn ([EMAIL PROTECTED]) said
something similar to:
> Kevin Meltz
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'
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:
> Als
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 c
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]>
> Se
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
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 "f
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
> > $IN
e 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 w
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 = ;
$parser->output_dir('/some/directory');
my $entity = $parser->parse_data(\$message);
At this point, attachments should hav
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
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
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 BEGINNER
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
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 m
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
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
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]) s
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 Me
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 o
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 pa
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
>
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]) s
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 mea
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 pri
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 secti
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
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 -
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
Hi Roger,
Have you looked at the Email::Valid and Mail::Address modules? Mail::Address
will piece apart an email address (address, phrase, etc..) and Email::Valid can
do RFC822 some address validation (including MX host checking).
Cheers,
Kevin
On Tue, Feb 19, 2002 at 11:37:49AM -0800, Roger Mo
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
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 cooperat
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])
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 :)
Cheer
Hi Aaron,
$login =~ s!^\d{3}!!;
See also:
perldoc perlre
Cheers,
Kevin
On Thu, Dec 13, 2001 at 12:08:07PM -0800, Aaron Shurts ([EMAIL PROTECTED]) said
something similar to:
> I am not sure what to use in this case.
> I am grabbing a bunch of login information from our database. The login
> h
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,
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 relate
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 Li
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
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
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 beginne
On Wed, Nov 28, 2001 at 08:46:36AM -0800, Randal L. Schwartz ([EMAIL PROTECTED])
said something similar to:
> Never trust CGI params.
> Never trust CGI params.
> Never trust CGI params.
I'll add to that:
Never trust user input
Never trust database data
Never trust command line params
Never trus
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'
>
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
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.co
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, Mile
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
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
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-vivific
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
I don't know why.. you *have read* the FAQ, haven't you? :)
Cheers,
Kevin (wondering why people don't read FAQs, since they have answers to
questions!)
On Thu, Oct 04, 2001 at 11:31:24AM -0400, jeffl ([EMAIL PROTECTED]) said
something similar to:
> http://archive.develooper.com/beginners%40perl
Hi Derrick,
I would consider using Net::SSH::Perl, or XML-RPC (RPC::XML). I've had to do
similar things, and have been happy with XML-RPC. You can have it run as a
server, however, with some trickery, you can also have it 'embedded' in another
server or script. I haven't personally used Net::SSH:
Hi Claement,
If you wish, you can post your code on the web somewhere and I am sure folks
would be happy to review it and give some commentary on it. If you can not put
it on the web (for whatever reason), please ask people to email you directly to
get a copy (i.e. don't send it to the list :)
On Mon, Sep 24, 2001 at 06:14:36PM +0100, John Moylan ([EMAIL PROTECTED]) said
something similar to:
> >>I'd have to highly recommend "Writing CGI Applications with Perl"
>
> Could not agree more, the best intermediate Perl book around.
I love reading that!
> (Is it meant to be intermediate Mr
perldoc -f splice
@array = (1, 2, 3, 4, 5);
splice(@array, 3, 1, 10);
print "@array";
1, 2, 3, 10, 5
Cheers,
Kevin
On Mon, Sep 24, 2001 at 03:08:09PM +0200, Pete Sergeant ([EMAIL PROTECTED]) said
something similar to:
> How do I insert $scalar into position $x of @array, where $x is smaller t
Hello Harpreet,
Why do you *need* to use cgi-lib.pl? That library is not obsolete, and (from
what I know) isn't maintained anymore. Take a look at the CGI.pm module
instead, which has a mode to use it like cgi-lib.pl.
Cheers,
Kevin
On Thu, Sep 20, 2001 at 10:38:34AM +1000, Singh, Harpreet
([EM
Ok folks, this thread is now closed. There will be no more posts on this thread
to this list. Not only is it heated, but it is off topic.
People must realize a few things. First, sometimes people post OT posts to
lists. Why? I'm not always sure. However, the beginners list is "chartered", if
you
Hi Russ,
Have you looked into the Net::Jabber modules on the CPAN?
Cheers,
Kevin
On Mon, Sep 17, 2001 at 01:55:07PM -0400, Russell Brooks
([EMAIL PROTECTED]) spew-ed forth:
> Hi,
> Someone has recently requested that I push some output from some perl
> scripts to a jabber client. If anyone
Hi Drew,
On Fri, Sep 07, 2001 at 11:45:34AM -0400, Cohan, Drew ([EMAIL PROTECTED])
spew-ed forth:
> Hi,
>
> I don't understand something about Perl's order of operations with this
> code:
>
> ...if ($name_count{$member}++)...
Using ++ (or --) after the variable will cause the current value to
Hi Ronald,
On Fri, Sep 07, 2001 at 02:58:30PM +0200, Roland Schoenbaechler
([EMAIL PROTECTED]) spew-ed forth:
> analogy to the functions die or next). Does a variable exist indicating the
> line number of the currently executed step (or the last step)?
>
Yes, you can use the __LINE__ token:
.
Hi Quang,
This is not the appropriate list for HTML questions. HTML and Perl, if
related, would be distant cousins, twice removed, and adopted. Please
search the web for a more appropriate place to find an answer. Thanks.
Cheers,
Kevin
On Tue, Aug 21, 2001 at 04:05:33PM -0400, Quang Bui ([EMAIL
List,
I have responded privately to Miriam. Please do not respond to her(?) or
to the list on this. In the future if any of you (or anyone reading this
in the archives) is having troubles unsubscribing by following the
directions on the bottom of the emails, the website (learn.perl.org),
and the
On Sun, Aug 19, 2001 at 04:12:00PM -0500, Me ([EMAIL PROTECTED]) spew-ed forth:
>
>
[snipped]
>
I don't find that very helpful. First, I would consider this flaim-bait,
which isn't appropriate for this list. Second, we have no idea what he
needs this for, and it is unfair to give this 'serm
It amazes me when people in acadamia can be so non-academic. If I were
you, I would ask what working definition (since it isn't the standard
definition) of "high level" they are using, and low level as well. Being
that a high level language is one which is passed through an interpreter
or compiler
Hi Jon,
On Thu, Aug 16, 2001 at 03:52:59PM -0700, Jon ([EMAIL PROTECTED]) spew-ed forth:
> Hello,
>
> I am signing up for a class at the U.W. that requires that I have one to
> two years programming experience in a high level language. Here are my
> questions:
>
> Is Perl a high level langua
Whoa.. there is no reason to put this on the list. If anyone is
planning on repsonding to the list on this, don't. If you have
complaints/comments on the list, people on the list, threads on the
list, etc.. please send them to [EMAIL PROTECTED], or try to
deal with them maturely, off the list, wit
Sure are. Visit the FAQ at http://learn.perl.org/beginners-faq and look
at question 1.4
Cheers,
Kevin
On Mon, Jul 23, 2001 at 08:36:16AM -0700, Giridhar nandikotkur ([EMAIL PROTECTED])
spew-ed forth:
> Hi anyone
>
> Are all the emails to [EMAIL PROTECTED] stored
> somewhere that one can access
Hi Michael,
On Wed, Jul 11, 2001 at 02:54:34PM -0700, Michael Dube ([EMAIL PROTECTED]) spew-ed
forth:
> I have a couple of PERL installations on my system. How do I point perl at
> the correct set of modules? I tried setting @INC inline in my program, but
> that did not work.
To do this withi
I'd like to clarify that CGI is Common Gateway Interface. It is not a
language. You can write CGI with PHP, ASP, Perl, Python, shell, C,
etc... So, no matter what you use to create dynamic pages, it is still
CGI.
mod_perl is a good suggestion, since you will have perl available to
you in Apache,
Hi dave,
I assume you have Blah.pm in the same directory as tst? -T removed .
(the cwd) from @INC, so it isn't finding it. You can a) put Blah.pm
somewhere in @INC, or b) use lib qw(.);
You may also want to read the perlsec doc, which explains more about
tainting.
On Fri, Jun 29, 2001 at 07:21:
Hi Anna,
To find out all the modules installed on your system, refer to the
following URL:
http:[EMAIL PROTECTED]/msg04057.html
To find out about a single one, you can do:
perl -MMODULE_NAME -e 1
So, to see if CGI.pm is installed:
perl -MCGI -e 1
If you see no error messages, it is installe
On Wed, Jun 27, 2001 at 12:04:53PM -0400, Jeff 'japhy' Pinyan ([EMAIL PROTECTED])
spew-ed forth:
> On Jun 27, Kevin Meltzer said:
>
> >On Wed, Jun 27, 2001 at 11:51:01AM -0400, Chas Owens ([EMAIL PROTECTED]) spew-ed
>forth:
> >> On 27 Jun 2001 17:45:18 +0200,
On Wed, Jun 27, 2001 at 11:51:01AM -0400, Chas Owens ([EMAIL PROTECTED]) spew-ed
forth:
> On 27 Jun 2001 17:45:18 +0200, Jos Boumans wrote:
> > > How do you mean?
> >
> > concider:
> > if ('a' == 'b') { print "foo" } # this will print 'foo', seeing 'a' and 'b' both
>yield '1' in numeric
> > con
On Wed, Jun 27, 2001 at 06:21:30PM +0200, Paul Johnson ([EMAIL PROTECTED]) spew-ed forth:
> On Wed, Jun 27, 2001 at 11:07:12AM -0400, Kevin Meltzer wrote:
> >
> > Is that the reason? I would think --'a' would be z, but that is my own
> > internal logic :)
>
&g
On Wed, Jun 27, 2001 at 10:55:54AM -0400, Jeff 'japhy' Pinyan ([EMAIL PROTECTED])
spew-ed forth:
> On Jun 27, Nick Transier said:
>
> The perlop documentation says that ++ is magical for strings, but that --
> isn't. The reason is because there's not a clear-cut way of defining it.
>
> What is
On Tue, Jun 26, 2001 at 05:07:22PM +0200, Aaron Craig ([EMAIL PROTECTED]) spew-ed
forth:
> At 11:03 26.06.2001 -0400, Kevin Meltzer wrote:
> >I think this is a very contradictory answer.. since if we were to RTFF
> >(last F for FAQ) we would know not to answer in this way. It i
I think this is a very contradictory answer.. since if we were to RTFF
(last F for FAQ) we would know not to answer in this way. It is not
useful.
The person asking the question should look at section 2.7 of the FAQ.
The person giving this answer should look at 2.6.
Both should look at section 4.
On Tue, Jun 26, 2001 at 07:58:44AM -0400, Chris Hedemark ([EMAIL PROTECTED]) spew-ed
forth:
> Wow... certainly a lot of hoops to jump through to get off the list (no, I
> am not one of those who wishes to leave). Would be nice if we went to a
> system less antiquated and unnecessarily complicat
On Thu, Jun 21, 2001 at 03:04:21PM +0100, n6tadam
([EMAIL PROTECTED]) spew-ed forth:
> Hi,
>
[snip]
>
> Of course, from a perl script, you can either use:
>
> system("/bin/rm -f /path/to/filename");
>
> or
>
> `rm -f filename`
Don't do that. Just use unlink()
perldoc -f unlink
Cheers,
K
ers,
Kevin
On Sat, Jun 16, 2001 at 06:45:37AM -0700, Paul ([EMAIL PROTECTED]) spew-ed forth:
>
> --- Kevin Meltzer <[EMAIL PROTECTED]> wrote:
> > . . .
>
> clue-bats? =o)
> Is that actually a thing? If so, I'd like to learn this, no sarcasm
> intended.
> If no
People, when a topic/thread is close, this means you *do NOT post to the list
on it again, ever*. This is not the proper forum for this discussion, and if
you cannot show restraint from replying to the list as a whole, as opposed to
the few who are taking part in the OT talk, then you may have pos
I agree, so consider any discussion about countries, war, copyrighted
materials, intellectual property, and cheese loving monkeys to be off topic,
not allowed, and _closed_.
Please only respond to this thread if, and only if, you are answering the
original question. Take everything else off the
Hi Bill,
Please refer to the answers to this same question in the archives:
http:[EMAIL PROTECTED]/msg04057.html
Cheers,
Kevin
On Fri, Jun 15, 2001 at 08:59:57AM -0400, Conrad, Bill (ThomasTech)
([EMAIL PROTECTED]) spew-ed forth:
> Hi All
>
> Is there a way to list all of the packages
There are a few ways. My favorite is to use:
perl -MCPAN -e autobundle
This will create a file (and display) all modules installed in the @INC paths,
as well as their versions. It also tells you the versions currently on the
CPAN.
perldoc CPAN
for more information on the useful CPAN module.
I am redirecting this question to the beginners-cgi list. Please respond to the
original poster ([EMAIL PROTECTED]) and the beginners-cgi list, not
the beginners list. Thank
you.
Cheers,
Kevin
On Tue, Jun 12, 2001 at 04:23:47PM -0600, T&R Customer Service
([EMAIL PROTECTED]) spew-ed forth:
>
Let me repeat, *this thread is closed*. There will be no more discussion about
header munging, unless it is how Perl can do header munging. Ask has given his
response on the headers issue, and I have closed this thread.
You know how the headers work, so you know what you need to do to reply to a
This is possible to do, but please read http://perl.plover.com/varvarname.html
before doing so (the article also shows how to do, as well as explains why you
shouldn't).
Cheers,
Kevin
On Tue, Jun 12, 2001 at 09:15:37AM -0700, Chirag Patel ([EMAIL PROTECTED]) spew-ed forth:
> Hi there,
>
> I was
Also look at the perlopentut manual page:
perldoc perlopentut
Cheers,
Kevin
On Mon, Jun 11, 2001 at 08:52:26PM -0500, bdale16 ([EMAIL PROTECTED]) spew-ed forth:
> I want a perl program when executed to send the data to a file such as text.txt but
>i dont need to open the file first.
> appare
1 - 100 of 147 matches
Mail list logo