Re[2]: Checkboxes

2004-01-27 Thread Sam Schinke
Hello Jim, Tuesday, January 27, 2004, 7:46:33 PM, you wrote: JH> $Bill Luebkert in <[EMAIL PROTECTED]>: >> Jim Hill wrote: >> >> > Flags=1414 >> > >> > Is there a module or a perl algorithm for determining which of >> > the 14 checkboxes are enabled from a "Flags=" value? >> >> I would just us

Re: Checkboxes

2004-01-27 Thread Jonathan D Johnston
[Jim Hill wrote] [...] > Flags=1414 > > ... which is linked to a set of gui checkboxes - some, but not > all, of which are mutually exclusive. Checking each option in > turn and monitoring the .cfg file results in this table ... > >0 no flags set >1 subscriber is suspended >2 re

Re: Checkboxes

2004-01-27 Thread $Bill Luebkert
Jim Hill wrote: > $Bill Luebkert in <[EMAIL PROTECTED]>: > >>Jim Hill wrote: >> >> >>>Flags=1414 >>> >>>Is there a module or a perl algorithm for determining which of >>>the 14 checkboxes are enabled from a "Flags=" value? >> >>I would just use a hash and for loop. eg: > > > I suspected that

Compress-PPMd usage

2004-01-27 Thread Mark A. Chalkley
I guess I'm overlooking something simple, but for some reason this evening, I can't figure out what... I'm trying to use Compress::PPMd to compress and decompress files. I'm using read(FH,"$fn",4096) in both the compression and decompression routines. This works as long as the file is less than

SIG Help - "Terminating on signal SIGALARM(14)"

2004-01-27 Thread Joe Youngquist
Hello all,   This is my first time into trying to deal with SIGALARMS, mostly due to the fact that this is the first time I'm getting applications dieing out with a message :   "Terminating on signal SIGALARM(14)"   I did a dump of what is held in the %SIG and 14 is undef.   I'm not sure what

perl / win32 / network setttings

2004-01-27 Thread Ed Chester
Hi there - I'm wondering if its possible to set IP address/netmask/gateway/DNS settings from within Perl, with some weird or whatever. Doesn't seem as if Win32:: can do it, but in the Way Of Perl somebody, somewhere, must have tried this before... Scenario: system participates in multiple netw

Re: Checkboxes

2004-01-27 Thread Jim Hill
$Bill Luebkert in <[EMAIL PROTECTED]>: > Jim Hill wrote: > > > Flags=1414 > > > > Is there a module or a perl algorithm for determining which of > > the 14 checkboxes are enabled from a "Flags=" value? > > I would just use a hash and for loop. eg: I suspected that there might be solution comp

RE: wsc: perl.exe error on script termination

2004-01-27 Thread Gregor Weihs
Hi, I haven't had the error you are describing but I've had plenty of problems with .wsc. One of them is that my .wsc and Outlook (from where I call it) will invariably crash if I don't have a MsgBox call somewhere in the .wsc code. Isn't that strange? It can't be an error of my script, otherwise

Re: Checkboxes

2004-01-27 Thread $Bill Luebkert
Jim Hill wrote: > Hi all > > The [subscribers] section in the .cfg file of my mailing list > manager gives a flag value for each subscriber ... > > Flags=1414 > > ... which is linked to a set of gui checkboxes - some, but not > all, of which are mutually exclusive. Checking each option in > turn

RE: Perl and Crystal Reports

2004-01-27 Thread Grant Babb
Title: RE: Perl and Crystal Reports CR9 has Java and .NET (ASP as well) interfaces, but the Java thing is brand new. The only way I think you could get Perl in the mix is to publish the Crystal Report as a web service and then consume it with a SOAP Proxy in a Perl script. Grant Babb L-EET We

RE: Checkboxes

2004-01-27 Thread Messenger, Mark
Code: $bitstring=unpack(b16,$flags); print "Bitstring is $bitstring\n"; # 100011101100 for 1414 HTH :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Hill Sent: Tuesday, January 27, 2004 1:42 PM To: [EMAIL PROTECTED] Subject: Checkboxes

Checkboxes

2004-01-27 Thread Jim Hill
Hi all The [subscribers] section in the .cfg file of my mailing list manager gives a flag value for each subscriber ... Flags=1414 ... which is linked to a set of gui checkboxes - some, but not all, of which are mutually exclusive. Checking each option in turn and monitoring the .cfg file result