At 08:30 PM 7/29/01 -0700, [EMAIL PROTECTED] wrote:
> > Gia Elise Barboza <[EMAIL PROTECTED]> said:
>
> > open(mail, "|mail barbozag\@msu.edu");
> > print mail "bad news: guessed \n";
> > close (mail);
>
>This works, but if you are not certain of the contents of the email message
>(e.g. writing a
At 10:04 PM 7/29/01 -0500, Mike Rodgers wrote:
>Here's what I tried:
>
> open(MAIL, "|pmiker\@localhost");
You probably do not have a program called pmiker@localhost in your
path. If you do, I doubt that its action is to send email.
> print MAIL "bad news: $somename guessed $someguess
At 11:23 AM 7/30/01 +0930, Daniel Falkenberg wrote:
>List,
>
>I was wondering if it is possbile to delete a users cookie when they close
>their browser. I thought this happened automatically but I just tried it
>and nothing happened?
By default, cookies have session lifetime, i.e., they do disap
> Gia Elise Barboza <[EMAIL PROTECTED]> said:
> open(mail, "|mail barbozag\@msu.edu");
> print mail "bad news: guessed \n";
> close (mail);
This works, but if you are not certain of the contents of the email message
(e.g. writing a CGI interface to let a user compose and send an email message)
Oops... I thought that was the code to leave the permissions wide open.
(Actually I'd set it in Gnome in the permissions dialog box, where you're
supposed to click the boxes.) I guess I just had the logic backwards.
Thanks...
- Original Message -
From: "Mel Matsuoka" <[EMAIL PROTECTED]
Here's what I tried:
open(MAIL, "|pmiker\@localhost");
print MAIL "bad news: $somename guessed $someguess\n";
close(MAIL);
I had the pipe in the code but left it out of my email. The above also
does not work.
Mike
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Hi all,
ok, it's late and my brain is melting, so please forgive me if the
following question should turn out to be a no-brainer.
I have a form that passes on a query-string with multiple values for the
same name:
"some.cgi?thisorder=2&key=4&thisorder=5&key=10"
I am using CGI.pm and would
Hello:
You can try File::Find.
It will serve your purpose.
Dinakar
Narendran Kumaraguru Nathan wrote:
> Hai Raghavan,
> I think you aren't aware of the unix command 'find'.
> Just try
> > find . -file
> Next I've made your program to work, just try this out. I hope
> the changes I've
[EMAIL PROTECTED] (Craig Westerman) writes:
> Is there a PHP beginners list similar to this one? If so please send
> subscription details.
see
http://news.php.net/ and
http://www.php.net/support.php
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
--
To unsubscribe, e-m
Hai Raghavan,
I think you aren't aware of the unix command 'find'.
Just try
> find . -file
Next I've made your program to work, just try this out. I hope
the changes I've made is clear for yor.
#! /usr/local/bin/perl -w
use strict;
my @dirList;
my $fileName;
my $srcDir;
my $findRet;
$fileN
Hi,
On Fri, Jul 27, 2001, Bob Showalter wrote:
> > From: Rich Fernandez [mailto:[EMAIL PROTECTED]]
> > I've been asked to write a CGI script that takes a URL of the form:
[...]
> > In other words, we want to hide the true URL of the report from the
> browser.
[...]
> 3. to send the browser some
The code below does not include the pipe char. Without it the code does
not work.
Hope this helps,
Regards Gia.
open(mail, "|mail barbozag\@msu.edu");
print mail "bad news: guessed \n";
close (mail);
Mike Rodgers wrote:
> On page 23 of Learning Perl, there are commands to mail a message out.
Is there a PHP beginners list similar to this one? If so please send
subscription details.
Thanks
Craig ><>
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
At 03:14 PM 07/29/2001 -1000, . wrote:
>I'm currently running a RedHat 7.1 box, with Perl 5.005 (I think), and
>Apache webserver 1.3.12.
>
>My problem is that, after having followed the directions for configuring
>Apache to handle cgi scripts (from both www.apache.org and the httpd.conf
>documenta
I'm currently running a RedHat 7.1 box, with Perl 5.005 (I think), and
Apache webserver 1.3.12.
My problem is that, after having followed the directions for configuring
Apache to handle cgi scripts (from both www.apache.org and the httpd.conf
documentation), I get a 403:forbidden error when I try
[any ideas...] the browser's error below:
couldn't find diagnostic data in /usr/local/lib/perl5/5.6.0/pods/perldiag.pod
/usr/local/lib/perl5/5.6.0/i686-linux /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux /usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/sit
El Sun, 29 Jul 2001 10:31:11 -0500
Mike Rodgers <[EMAIL PROTECTED]> escribió:
>On page 23 of Learning Perl, there are commands to mail a message out.
>I have tried to manually send myself a message with mail and it works.
>The program does not work. I'm not sure why. Here is the code:
>
>open
El Sun, 29 Jul 2001 11:57:22 EDT
[EMAIL PROTECTED] escribió:
>Hello there,
>
>Two questions, if anyone can help that would be great.
>
>I have this script that sets cookies.. 6 of them to be exact..
What script?
Regards.
--
__
Ron,
It doesn't appear you've gotten a response to this on the list yet. I'd
like to respond, but I'm not sure what you're trying to do. I'll ask some
questions that may make it more clear to me and others.
On Saturday 28 July 2001 13:25, Ron Smith wrote:
> I've been handed a project where I
just dereference it:
foo( @{ $R{"first"} } );
it's as easy as that =)
hth
Jos Boumans
>
> Hi all,
>
> here's my question :):
>
> I define a hash array:
> our %R=("first" => [ "one", "two" ], "second" => ["third", "fourth"]);
>
> Now I can get back back array references from this using:
Hi all,
here's my question :):
I define a hash array:
our %R=("first" => [ "one", "two" ], "second" => ["third", "fourth"]);
Now I can get back back array references from this using:
$R{"first"}
I also can get back the elements of this array:
$R{"first"}->[0]and so on..
but i would need
> Does someone know if the array::compare module can handle array of
> arrays?
I haven't seen anyone answer this yet. Based on the documentation
(http://theoryx5.uwinnipeg.ca/CPAN/data/Array-Compare/Compare.html),
Array::Compare takes 2 arrays and tells you if they are the same, or
different, w
> sorry, i figured this one out myself,
>
> thanks anyway! :)
What was the answer?
Best wishes,
Rachel
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> Does anyone know where to find good information on the expect module?
> the camel book did not say much about it.
Try http://theoryx5.uwinnipeg.ca/CPAN/data/Expect.pm/Expect.html
Found by my usual route for finding out more about a module, which is:
1. Go to www.cpan.org
2. Follow the link 'P
> Making a mistake once can be exused,
> making it twice is stupidity and
> making the same mistake a third time only proves you have no brain ;-)
>
> Sorry, I figured out where the problem is...
What was the problem and how did you fix it? Other people reading the list
(or searching the archive
> >I'm trying to decide on using DBI or an ODBC connection for moving data
> >into or out of MS ACCESS 97 (or 2000) and back into the ACCESS table
> >[yep, or change inside table].
> >
> >Given I need to perform all the usual extract and append, etc. tasks, do
> >any of you have suggestions or poi
> Hi friends, I wanna send mails with the results of some perl scripts. I've
> installed Debian GNU/Linux with Apache, Perl & sendmail. Do I need some
> extra module?
I think you *can* just print stuff directly to sendmail. However, I found
Net::SMTP to be useful, if a little fiddly. Mail::Mail
> Let me rephrase what I want to do since I was so unclear the first
> time: I want to output an error message every time the input
> includes characters that are not the following: A-Za-z0-9_@.- or a
> space(s).
> At this point, I've tried:
>
> if ($params{$i} !~ /[^\w\@.-\s]/g) {
> print "Erro
Well, I've tried many variations of regexes but the tests either
always fail or always succeed, nothing in between. So I've resorted
to testing for some of the unwanted characters and printing the error
msg if those characters are found:
foreach my $i (keys %params)
{ if ($params{$i}=~m/
Hello there,
Two questions, if anyone can help that would be great.
I have this script that sets cookies.. 6 of them to be exact..
But, it has a few problems:
A. It isn't creating all of them.. I can change pre-existing cookies but some
of the new ones won't be created... Is there a maximum nu
On page 23 of Learning Perl, there are commands to mail a message out.
I have tried to manually send myself a message with mail and it works.
The program does not work. I'm not sure why. Here is the code:
open(MAIL, "mail EMAIL_ADDRESS_HERE");
print MAIL "bad news: $somename guessed $somegues
Hello there,
Two questions, if anyone can help that would be graet.
I have this script that sets cookies.. 6 of them to be exact..
But, it has a few problems:
A. It isn't creating all of them.. I can change pre-existing cookies but some
of the new ones won't be created... Is there a maximum nu
On Sat, Jul 28, 2001 at 04:15:33PM -0500, [EMAIL PROTECTED] wrote:
> #!/usr/local/bin/perl
>
> #use strict;
> use warnings;
>
> my $file = 'data';
> my $TIMEOUT = 10;
> sub LOCK_SH { 1 };
> sub LOCK_EX { 2 };
> sub LOCK_UN { 8 };
Do not manually define these constants. It will work, but it's b
I don't have the original email, so I'm having to reply to the original
question here (see the end of the email), as well as the response.
On Sat, Jul 28, 2001 at 01:56:10PM -0400, Akshay Arora wrote:
> @temp=; #implies that TEMP is a read file handle
> print TEMP @temp; #implies that TEMP is a
Hi all,
I have just started to "play" with perl so pls consider me to be *very*
newbie.
I try to find the way to do the following:
I have a list of file names, and I want to rename each file which starts
with underscore and ends with 'htm' or 'html' as follow:
original name: "_xxx.htm" should be r
35 matches
Mail list logo