How can I conditionally use a module?
I have a script that I wish to run on Linux and Windows (activestate
5.8.8).
Under windows it will produce an xl spreadsheet and a comma-separated
text file.
I haven't found an xl module for Linux so I will simple omit that
function and produce only the CSV.
Win32::SqlServer
I can't get the connection timeout to be any shorter than 45 seconds.
for example
$sqlsrv-setloginproperty('ConnectTimeout',5);
doesn't seem to change anything.
Does anyone have any experience with this?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional
On Oct 30, 8:33 am, [EMAIL PROTECTED] (Kammen van) wrote:
From: Peter Scott [mailto:[EMAIL PROTECTED]
Subject: Re: Reading from multiple sockets.
On Tue, 21 Oct 2008 12:53:53 +0200, Kammen van, Marco, Springer SBM
NL
wrote:
I'm pretty new to working with sockets in perl, looked around
On Oct 21, 10:14 pm, [EMAIL PROTECTED] (Dr.Ruud) wrote:
Mr. Shawn H. Corey schreef:
kenTk:
If I populate @array
Then
@array=();
Is the memory that was used for that array now freed?
Yes, providing no other variable contains those items. For example:
my @a = qw( a b c );
my
If I populate @array
Then
@array=();
Is the memory that was used for that array now freed?
Similarly
If I populate the anonymous array @{$arrayREFS[$index]}
Then
@{$arrayREFS[$index]}=();
Is the memory that was used for that anonymous array now freed?
Thanks in advance
--
To unsubscribe,
I am posting this problem and the solution to spread the news a little
about a nasty bug in XP.
PROBLEM
I have a Perl (activestate) 5.8.8 script that uses IO::Socket::INET;
and opens a broadcast UDP socket. The packets are received
successfully by another host running a similar script as long as
On May 29, 7:55 pm, [EMAIL PROTECTED] (kenTk) wrote:
On May 29, 2:40 pm, [EMAIL PROTECTED] (Zentara) wrote:
On 28 May 2007 08:28:35 -0700, [EMAIL PROTECTED] (kenTk) wrote:
If there is no server or no connection this hangs for about 20 seconds
and then crashes with the following error
On May 29, 2:40 pm, [EMAIL PROTECTED] (Zentara) wrote:
On 28 May 2007 08:28:35 -0700, [EMAIL PROTECTED] (kenTk) wrote:
If there is no server or no connection this hangs for about 20 seconds
and then crashes with the following error message.
The Timeout seems to make no difference
On May 26, 10:06 am, [EMAIL PROTECTED] (Spx2) wrote:
hi,im new to multithreading altough ive read some papers on it...and
tried to made some programs
in perl using threads.
what would you recommend using with perl multithreading on windows.
what would you recommend reading on a broader
If there is no server or no connection this hangs for about 20 seconds
and then crashes with the following error message.
The Timeout seems to make no difference and the 'warn' does not occur.
If works file with a good connection to a server.
Using 5.8.8 active perl.
Anyone got any suggestions for
10 matches
Mail list logo