I am trying to use the following piece of code for subscribers to
unsubscribe from my mailing list. The problem is that when the user clicks
submit the file gets read into memory. If I open the file as open
(DELETEFILE, . etc., the list gets overwritten entirely with nothing.
It appears that
hi guys,
i have multiple domain names - etc multiple sites - that i would like to
share cookies inbetween, how can i - literally - do that, and is it enough
to use HTTP::Cookies !?
thx 4 help
--
Hytham Shehab
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
David Newman wrote:
Greetings. I have a newbie question about passing arrays into a subroutine
(and getting return values as well).
Hi David,
I can't help much as far as passing or returning whole arrays, but there is a much
better way to access arrays from inside a function. I'll show you
[EMAIL PROTECTED] (Robert Rendler) writes:
Currently I'm unable to capture wget's progress bar (the one with the arrow).
It doesn't appear to be using STDOUT or STDERR. So this his not working:
Why not just use LWP?
Try running the following example I made for you.
#!/usr/bin/perl -w
use
[EMAIL PROTECTED] (Wiggins D'Anconia) writes:
[techieindex]
I am not sure this was a cross post? I think it is SPAM from the
techieindex. I have gotten 2-3 as replies to messages posted on
several different mailing lists.
Yes, it was a spam mail. The moderator got fooled. :-)
- ask
Hi,
I came to a little problem trying to thaw a hash with storable. In
fact I'm somehow forced to use a hash that contains this serialised
(freezed) hash, and then pass it to XML::Simple as to make an xml
document with this.
So, what I do is something like
Nevermind for the errors quoted, this isn't related to serialisation.
However, the problem is still there.
Le lun 17/03/2003 à 10:23, Yannick Warnier a écrit :
Hi,
I came to a little problem trying to thaw a hash with storable. In
fact I'm somehow forced to use a hash that contains this
Erwin Zavala wrote:
I know I could use the filehandle but I am trying to understand why I
cannot use the array and print each element at the time.
#!/usr/bin/perl
use warnings; #why was this left out?
use strict;
use Fcntl;
$/ = \n\n;
# I assume you know what you're doing here
Hi there,
Is there a way to send and receive documents from MSMQ via Perl?
Where would I go to get more information about this topic!
Cheers,
Ivica
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hello all ,
I am writing a module that has to extract the text part of a mail,
This mail may contain attachments but then I would ignore the attachments
If it contained html I would require to strip html tags and covert to text
I am presently doing this with MIME::Parser and html2text.pl but I
Erwin Zavala wrote:
I know I could use the filehandle but I am trying to understand why I
cannot use the array and print each element at the time.
#!/usr/bin/perl
use strict;
use Fcntl;
$/ = \n\n;
sysopen(readFile, cnnArticle.txt, O_RDONLY) || die $!;
sysopen(writeFile, fortuneCookie.txt,
How can I see what file handles are pointed at a given file. I am having a
problem where I open, read, and close a certain file. Then another part of
the script tries to open that same file, but can't. I suspect something is
holding it open. Another file handle perhaps, but I have not been able to
Mar 16, 2003 at 5:08pm from Rob Dixon:
RD (print 'abc') + ($success = 0) + (last);
Rob, thanks, this example helps drive the point home. Would you also argue
that
open INFILE, $file || die Can't open $file: $!;
should really be written as
die Can't open $file: $! if (!open INFILE,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 5:04 PM
To: [EMAIL PROTECTED]
Subject: filehandle problem
How can I see what file handles are pointed at a given file.
I am having a problem where I open, read, and close a
On Mon, 17 Mar 2003 [EMAIL PROTECTED] wrote:
How can I see what file handles are pointed at a given file. I am having a
problem where I open, read, and close a certain file. Then another part of
the script tries to open that same file, but can't. I suspect something is
holding it open.
Hi,
I think if you posted some of your code members will be able to help you.
Without any code it will not be to easy.
regards. aim.
[EMAIL PROTECTED] wrote:
How can I see what file handles are pointed at a given file. I am having a
Hi everybody,
should I include any header or use a specific library to use the
instruction format? I'm receiving the following error and i think it can
be that...
Format not terminated at 17032003.pl line 73, at end of line
Missing right curly or square bracket at 17032003.pl line 73, at end
hi all
i am a beginner and i need some help from you:
here is my problem:
--
i have to filter all files *.BMP and to rename all by
*.bmp
--
here is my script:
Change your first line to
#!/usr/bin/perl
insetead of
#!/usr/bin/perl
(take out the leading space)
That's causing your shell to think it's a bash script, instead of perl, hence the
errors.
--
David Olbersen
iGuard Engineer
11415 West Bernardo Court
San Diego, CA
From: Tony Esposito [EMAIL PROTECTED]
In C, you can define a constants - variables whose contents can not
be changed. Is there any way to do this in Perl? There are some
variables I use that I would love to set as a constant.
In case you really wanted them to be variables you may do this:
ThanksI got this issue resolved.
One could also resolve the constant in a print statement like so:
use constant MAX_THRESHOLD = 99;
use constant MIN_THRESHOLD = 1;
print STDERR ERROR 4: Command line arg threshold is out of range.\n;
print STDERR ERROR 4: where threshold is between
=?iso-8859-1?q?r=20p?= said:
hi all
i am a beginner and i need some help from you:
here is my problem:
--
i have to filter all files *.BMP and to rename all by
*.bmp
--
here is my
From: Tony Esposito [EMAIL PROTECTED]
ThanksI got this issue resolved.
One could also resolve the constant in a print statement like so:
...
print STDERR ERROR 4: where threshold is between @{[
MIN_THRESHOLD ]} and @{[ MAX_THRESHOLD ]}.\n;
Yep. It's a shame that the Perl optimizer is
I haven't used formats in a long time, but no, you don't need any additional
libraries. Parhaps you forgot to end the format section? It needs to end
with a period (.).
Perhaps posting a code sample to the list would help.
Rob
-Original Message-
From: Ruben Montes [mailto:[EMAIL
hello,
here's the code:
format ENT_TOP =
Num. Interface Description Admin StatusOper Status
==
.
and this is error I get:
Format not terminated at 17032003.pl line 77, at end of line
Ruben Montes wrote:
hello,
here's the code:
format ENT_TOP =
Num. Interface Description Admin StatusOper
Status
==
.
and this is error I get:
Format not terminated at
Hello folks,
I am new to this list and perl. I am wanting to find or perhaps write a
script which will index religious works such as the apocrypha or the
dhammapada. These texts usually take the form of:
Book Chapter:Verse
Passage
Does anyone know of such a script? And, if there is not
Pete Emerson wrote:
Mar 16, 2003 at 5:08pm from Rob Dixon:
RD (print 'abc') + ($success = 0) + (last);
Rob, thanks, this example helps drive the point home. Would you also argue
that
open INFILE, $file || die Can't open $file: $!;
should really be written as
die Can't open
Pete Emerson wrote:
Mar 16, 2003 at 5:08pm from Rob Dixon:
RD (print 'abc') + ($success = 0) + (last);
Rob, thanks, this example helps drive the point home. Would you also argue
that
open INFILE, $file || die Can't open $file: $!;
should really be written as
die Can't
On Thu, 13 Mar 2003 14:10:36 +0800 (GMT-8), [EMAIL PROTECTED] wrote:
A couple of years ago there was a great article by the title of Punishing
Your Server With Perl. (I believe that either Randal Schwartz or Ruben
The article can be found at:
Does anyone know of a free cgi-bin. I am having some problems with a
script and wanted to narrow it down to rule out email. I don't need a
free website, just a place that can run and execute my script. I have
searched on google, but I'm only coming up with free web hosts.
--
To
On Mon, 17 Mar 2003, Liebert, Sander wrote:
Does anyone know of a free cgi-bin. I am having some problems with a
script and wanted to narrow it down to rule out email. I don't need a
free website, just a place that can run and execute my script. I have
searched on google, but I'm only
R p wrote:
hi all
Hello,
i am a beginner and i need some help from you:
here is my problem:
--
i have to filter all files *.BMP and to rename all by
*.bmp
--
here is my script:
Could some one help me with this code. Every time that I this code:
use Net::Whois;
use Carp;
$dom =digidyne.com;
my $w = new Net::Whois::Domain $dom or die Can't connect to Whois
server\n;
unless ($w-ok) { croak No match for $dom;}
print Domain: , $w-domain, \n;
print Name: ,
See CPAN www.cpan.org for a Win32 Perl port.
-Original Message-
From: AK [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Punishing Your Server With Perl
On Thu, 13 Mar 2003 14:10:36 +0800 (GMT-8), [EMAIL PROTECTED] wrote:
A couple of
Pete Emerson wrote:
Mar 16, 2003 at 5:08pm from Rob Dixon:
RD (print 'abc') + ($success = 0) + (last);
Rob, thanks, this example helps drive the point home. Would you also argue
that
open INFILE, $file || die Can't open $file: $!;
should really be written as
die Can't
On Mon, 17 Mar 2003, Liebert, Sander wrote:
Does anyone know of a free cgi-bin. I am having some problems with a
script and wanted to narrow it down to rule out email. I don't need a
free website, just a place that can run and execute my script. I have
searched on google, but I'm only
Thomas Browner wrote:
Could some one help me with this code. Every time that I this code:
use Net::Whois;
use Carp;
$dom =digidyne.com;
my $w = new Net::Whois::Domain $dom or die Can't connect to Whois
server\n;
^
^
Missing at end of string!
I get the following
On Mon, 17 Mar 2003, Thomas Browner wrote:
Could some one help me with this code. Every time that I this code:
use Net::Whois;
use Carp;
$dom =digidyne.com;
my $w = new Net::Whois::Domain $dom or die Can't connect to Whois
server\n;
^^^
Need a closing here
-- Brett
BTW - Anyone know where to get the Carp module for Perl 5.6.1 on Win32 (
WindowsNT ) and how to install it? I am using the OpenPerl IDE and it
complains about not being able to locate Carp. I checked and it is not on
my Win32 system.
Thanks!
-Original Message-
From: Brett W. McCoy
Addendum: I tried CPAN and my search(es) do not show the module itself.
Thanks!
Anthony (Tony) Esposito
Senior Technical Consultant
Inovis(tm), formerly Harbinger and Extricity
2425 N. Central Expressway, Suite 900
Richardson, TX 75080
(972) 643-3115
[EMAIL PROTECTED]
On Mon, 17 Mar 2003, Tony Esposito wrote:
BTW - Anyone know where to get the Carp module for Perl 5.6.1 on Win32 (
WindowsNT ) and how to install it? I am using the OpenPerl IDE and it
complains about not being able to locate Carp. I checked and it is not on
my Win32 system.
Did you try
On Mon, 17 Mar 2003, Tony Esposito wrote:
Addendum: I tried CPAN and my search(es) do not show the module itself.
Thanks!
It's right there under the Core Modules listing:
http://www.cpan.org/modules/by-category/02_Perl_Core_Modules
-- Brett
Hi,
I have a partial perl script for a mock-up web page, that will collect
information from users as part of a registration form. In trying to see
what it looks like so far on the web, I'm getting an internal server
error. I thought that the script, though partial, was at least closed
out
Hi,
I have a web page where I've used Java Script to set up some relational
menus, within a php script to send form data to a perl DBI script for
querying a database. The user selects an option from the first menu,
and an option from the second menu, and these values need to be passed
either
On Mon, 17 Mar 2003, Robbie Staufer wrote:
I have a partial perl script for a mock-up web page, that will collect
information from users as part of a registration form. In trying to see
what it looks like so far on the web, I'm getting an internal server
error. I thought that the script,
Robbie Staufer wrote:
Hi,
I have a partial perl script for a mock-up web page, that will collect
information from users as part of a registration form. In trying to
see what it looks like so far on the web, I'm getting an internal
server error. I thought that the script, though partial,
I am using SiePerl. I had trouble installing ActiveState on WindowsNT for
some reason ( probably OE but I did not want to mess with it ) even though
it installed fine on Windows2000. The OpenPerl IDE fails to even open up
with the WindowsNT version of ActiveState so I used SiePerl. With
On Mon, 17 Mar 2003, Tony Esposito wrote:
I am using SiePerl. I had trouble installing ActiveState on WindowsNT for
some reason ( probably OE but I did not want to mess with it ) even though
it installed fine on Windows2000. The OpenPerl IDE fails to even open up
with the WindowsNT version
I checked my whole system for Carp.pm and it was nowhere to be found.
Perl seems to work fine from the command line. It is the OpenPerl IDE that
seems to need it ( for stack tracing I am guessing ). In fact, the OpenPerl
IDE in debug mode stops right at the line in the demo script that says use
Hello everyone.
I have a problem that has me blinded. I'm working on a script for finding
the 3 greatest numbers on a group of data stored in a TXT file.
I keep getting the same 500 error.
I used some pieces of code from others scripts I made that work correctly,
but this is my headache. Maybe
On Mon, 17 Mar 2003, Tony Esposito wrote:
I checked my whole system for Carp.pm and it was nowhere to be found.
Perl seems to work fine from the command line. It is the OpenPerl IDE that
seems to need it ( for stack tracing I am guessing ). In fact, the OpenPerl
IDE in debug mode stops
Quoting issues,
I think you meant:
perl -MCarp -e croak('croaked')
--
David Olbersen
iGuard Engineer
11415 West Bernardo Court
San Diego, CA 92127
1-858-676-2277 x2152
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]
Sent: Monday,
I'll try itthe SiePerl instance is at home, not at work - where I am at
now!
Thanks! :-)
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 5:14 PM
To: Tony Esposito
Cc: Thomas Browner; [EMAIL PROTECTED]
Subject: RE: help with whois code
David Olbersen wrote:
Quoting issues,
I think you meant:
perl -MCarp -e croak('croaked')
Yeah... forgot it's Win32 command-line... :-)
-- Brett
http://www.chapelperilous.net/
Ramón Chávez wrote:
Hello everyone.
Hi Ramon,
I think I see your problem right here:
print content-type: text/html \n\n;
Should be:
print Content-type: text/html\n\n;
I can't say that that is the only problem, but that probably would be enough to hang
the process. Try changing that,
I know this is slightly off topic, but I have yet to find someone that can
answer this. I have a new Exchange 2000 server, since it was installed, the
cgi scripts on my ISP's server will not send mail from my scripts anymore.
Relaying is disabled in Exchange 2000 and I have read that in order for
Matthew Stapleton wrote:
Hello folks,
I am new to this list and perl. I am wanting to find or perhaps write a
script which will index religious works such as the apocrypha or the
dhammapada. These texts usually take the form of:
Book Chapter:Verse
Passage
Does anyone know of such a script? And,
Rob Dixon wrote:
Robbie Staufer wrote:
Hi,
I have a partial perl script for a mock-up web page, that will collect
information from users as part of a registration form. In trying to
see what it looks like so far on the web, I'm getting an internal
server error. I thought that the
Robbie Staufer wrote:
Hi,
I have a web page where I've used Java Script to set up some relational
menus, within a php script to send form data to a perl DBI script for
querying a database. The user selects an option from the first menu,
and an option from the second menu, and these values
60 matches
Mail list logo