IF statements and timestamps

2002-03-08 Thread Aaron Shurts
I have some code that looks like this: if (($duration < 600) && (($ts > $ts_offp) && ($ts < $ts_end))) { $$data{$csid}{under_off} += 1; $$data{$csid}{duration_offd} += $duration; $$data{$csid}{total_off_callsd} += 1; } The problem being it doesn't look

Forgive my n00biness

2002-03-01 Thread Aaron Shurts
ght, e-mail me and I will try to go into more detail. Thanks! Aaron Shurts -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: convert array to integer

2002-02-22 Thread Aaron Shurts
This may not be a better way, but another way is: my(@array) = (5, 6, 7, 8); my($integer) = sprintf("%1d%1d%1d%1d", @array[0], @array[1], @array[2], @array[3]); -_-Aaron -Original Message- From: Jon Molin [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 4:06 AM To: kitti Cc: [

RE: How to issue CLEAR command from Perl

2002-02-21 Thread Aaron Shurts
If you don't already have it, invest some coin in the 3rd edition of 'Programming Perl'. -_-Aaron -Original Message- From: Hewlett Pickens [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 2:15 PM To: [EMAIL PROTECTED]; zPerl Beginners Subject: RE: How to issue CLEAR command f

RE: How to issue CLEAR command from Perl

2002-02-21 Thread Aaron Shurts
Try typing this at the command line: $ perldoc -f system ;-) -_-Aaron -Original Message- From: Hewlett Pickens [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 11:26 AM To: zPerl Beginners Subject: How to issue CLEAR command from Perl Invoking a Perl script from a TN3270

RE: learning perl

2002-02-20 Thread Aaron Shurts
Post some sample code. Let's see what you are trying to do. -_-Aaron -Original Message- From: Dave [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: learning perl I've installed ActivePerl 5.61 on Win2000, the PATH and associations

RE: Very Basic Help

2002-02-14 Thread Aaron Shurts
Also. I don't have much CGI experience, but couldn't you just nix all those print statements with, 'qq' or 'EOLN'? -_-Aaron -Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 7:59 AM To: Hughes, Andrew Cc: [EMAIL PROTECTED] Subject:

RE: Help me out

2002-02-14 Thread Aaron Shurts
I am in the same boat. I have found the best way to do it is to dive right in. I rely heavily on the O'Reilly book, "Programming Perl". It is a pretty complete resource book with a nice function list and really good code explanation. Also another really good resource type of book is from O'Rei

RE: Best perl on windows?

2002-01-03 Thread Aaron Shurts
I use ActivePerl on Windows and it is fine. http://www.activeperl.com/Products/Download/Get.plex?id=ActivePerl It is basically the same as programming on Linux, however you have to know all the funny little Windows nuances, but the PERL syntax is the same. For example you can't do @my_array = `ca

RE: Getting rid of junk.

2001-12-13 Thread Aaron Shurts
Thanks ALL! I got it. -_-Aaron -Original Message- From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 12:25 PM To: Aaron Shurts; [EMAIL PROTECTED] Subject: Re: Getting rid of junk. and while re-reading you post: why are you using while( ($login

Getting rid of junk.

2001-12-13 Thread Aaron Shurts
) = $sth->fetchrow_array ()) { foreach %login { get rid of the leading numbers; } } Aaron Shurts -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

PERL MySQL DBI

2001-12-06 Thread Aaron Shurts
be imported into Excel. Thanks in advance for the help. Aaron Shurts -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

PERL and MySQL

2001-12-05 Thread Aaron Shurts
just wondering if someone could help me out with a 20,000 feet view of things or point me to a good URL that explains PERL and MySQL joins and what-not. Thanks in advance for the info. Aaron Shurts -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Win32::Perms

2001-11-16 Thread Aaron Shurts
Again...I have no idea how to do this in PERL either. The best way I know how to do it, is to write a registry .inf and apply the changes with secedit. -_-aaron -Original Message- From: Veeraraju_Mareddi [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 2:45 AM To: [EMAIL PROTE

RE: registry Security permissions.

2001-11-16 Thread Aaron Shurts
You'll want to write a registry .inf file with the proper permissions for the key. You can then use secedit.exe to apply the proper changes to the keys. -_-Aaron -Original Message- From: Veeraraju_Mareddi [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 11:35 PM To: [EMAIL P

RE: IP accounting

2001-11-16 Thread Aaron Shurts
If it is DHCP, you are going to want to collect more than just the IP from the user. The IP is not uniquely identifiable in a DHCP situation. You may want to collect such info as the MAC address as well. Are you storing this in a flat file, or some kind of db? -_-Aaron -Original Message---