Are you looking for C style enumerated types?
AFAIK,Perl doesn't have this built-in type.But you could get it on CPAN:
http://search.cpan.org/~zenin/enum-1.016/enum.pm
2007/4/13, yitzle <[EMAIL PROTECTED]>:
Don't shoot me!
I can't find enum on the perldocs. Perl does have an enum, right?
How d
Don't shoot me!
I can't find enum on the perldocs. Perl does have an enum, right?
How do I go about making an enum? I basically want a bunch of variables to
equal subsequent values, eg 0, 1, 2, ...
Thanks!
Rob Dixon wrote:
> yitzle wrote:
>>
>> OK... I got this script that gets a lot of hits -> generates high
>> bandwidth.
>> Is there a simple way to check the amount of bytes printed to STDOUT so I
>> can track the bandwidth it is generating?
>
> my $nbytes = tell STDOUT;
tell() usually only works
yitzle wrote:
OK... I got this script that gets a lot of hits -> generates high
bandwidth.
Is there a simple way to check the amount of bytes printed to STDOUT so I
can track the bandwidth it is generating?
my $nbytes = tell STDOUT;
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
OK... I got this script that gets a lot of hits -> generates high bandwidth.
Is there a simple way to check the amount of bytes printed to STDOUT so I
can track the bandwidth it is generating?
On Thu, 2007-04-12 at 18:56 +0530, Anish Kumar K wrote:
> Hi
>
> Mails which are send by the perl script are usually found in the SPAM or
> JUNK as a result most of the mails are not seen by the recipient. Is
> there any way in the perl script we can set some Magical Header :) by
> which the ma
On Thu, April 12, 2007 10:44 am, Chas Owens wrote:
> On 4/12/07, Paul <[EMAIL PROTECTED]> wrote:
>> I see default time out is 120, in seconds I assume. How would I change
>> this within a perl script? Problem is, when the deomon is locked up, it
>> just sits there, so I want to shorting this so t
Hi,
Lets set it to 200 secs
use Net::FTP;
my $ftp = new Net::FTP(hostnale,Timeout => 200);
...
- Original Message -
From: "Paul" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 5:33:30 PM (GMT+0200) Auto-Detected
Subject: How to set FTP module time out?
I see
On 4/12/07, Paul <[EMAIL PROTECTED]> wrote:
I see default time out is 120, in seconds I assume. How would I change
this within a perl script? Problem is, when the deomon is locked up, it
just sits there, so I want to shorting this so the script jumpts out and
doesn't sit there forever. Thanks.
I see default time out is 120, in seconds I assume. How would I change
this within a perl script? Problem is, when the deomon is locked up, it
just sits there, so I want to shorting this so the script jumpts out and
doesn't sit there forever. Thanks.
http://search.cpan.org/~gbarr/libnet-1.20/Ne
Hi,
What type of mail mechanism are you using?
Do you really use sendmail or connect smtp server?
Yaron Kahanovitch
- Original Message -
From: "Chas Owens" <[EMAIL PROTECTED]>
To: "Anish Kumar K" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 4:28:23 PM (GMT+020
On 4/12/07, Anish Kumar K <[EMAIL PROTECTED]> wrote:
Hi
Mails which are send by the perl script are usually found in the SPAM or
JUNK as a result most of the mails are not seen by the recipient. Is
there any way in the perl script we can set some Magical Header :) by
which the mail goes to INBOX
Sounds like a combination of both.
If your mail server is set up to allow internal sites to pass through
with no checks, then you should be OK
If you mail server checks everything, white list your internal domain
If your mail server is not the culprit, check your email program and
white-list thi
Hi I am trying to install Tree-Suffix-0.14. And when I
run Makefile.PL, I get following messages
-
Unrecognized argument in LIBS ignored: 'mypath
/libstree-0.4.2/lib'
Unrecognized argument in LIBS ignored: 'mypathÂ….
/lib:.'
Note (probably harmless): No librar
Hi
Mails which are send by the perl script are usually found in the SPAM or
JUNK as a result most of the mails are not seen by the recipient. Is
there any way in the perl script we can set some Magical Header :) by
which the mail goes to INBOX only. First of all can we do in the perl
script o
Hi
The "8.1.8" =~ /[\d $versao \s]/ will always return true because the square
parenthesis ([]) matches the string against one of the chars inside. In this
case the \d (digit) matches because you have a digit inside.
In your code you wrote "8.1.8" =~ /$version/. This takes the $version a treat
16 matches
Mail list logo