Matching Weird Text Chars

2008-11-03 Thread Kent, Mr. John, Contractor, Code 7500
Dear Guru's I have some nautical word documents that have been converted to text, That I am parsing and converting to html. Everything is easy except for what happens to the degrees, Apostrophes and quote symbols In the text document they are written as Deg = ° Apostrophe (') = <92> Open quo

RE: Using Sort::Maker

2006-04-05 Thread Kent, Mr. John \(Contractor\)
Sorry to have troubled the list Not sure why code => didn't work. Thank you, John Kent -Original Message- From: Kent, Mr. John (Contractor) Sent: Wednesday, April 05, 2006 9:35 AM To: Beginning Perl; Uri Guttman (E-mail) Cc: Kent, Mr. John (Contractor) Subject: Using Sort::M

Using Sort::Maker

2006-04-05 Thread Kent, Mr. John \(Contractor\)
Greetings, I'm having some trouble using Sort::Maker and was hoping someone could assist. I have very large arrays of file names that look like: my @ARRAY = qw{ 20060312.1230.goes10.ir.x.pacus.x.jpg 20060324.1500.goes10.ir.x.pacus.x.jpg 20060405..goes10.ir.x.pacus.x.jpg 20060312.1300.goes

A way to use map?

2005-02-04 Thread Kent, Mr. John \(Contractor\)
Greetings, Trying to be "cool" and apply map to the following lines of code (which work fine as shown) @TIMES is an array of lines that look like Time: Thu Feb 3 15:10:39.290 GMT 2005 End: Default.2.def-edtp0.on Time: user 0.29 sec Delta: Default.2.def-edtp0.on Time: Thu Feb 3 15:10:43 GMT 2

Grep Weirdness

2004-10-07 Thread Kent, Mr. John \(Contractor\)
Greetings, Encountering some unexpected behavior illustrated in the code snippet below. In the first foreach loop Seems like when I check for a match between gid306 and the contents of the the ACTIVES array I get an erroneous hit. But as shown in the second foreach loop if I remove gid and just

Efficient Formatting

2004-07-21 Thread Kent, Mr. John \(Contractor\)
Greetings, Want to print out a formattted line of numbers Is there a way to avoid having to: >printf "%8d %8d %8d . ten times",$num1,$num2,$num3, ... , $num10; ? Something like printf "%8d" * 10, @numray; Thank you, John Kent -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RE: Efficient Untaint? Thanks2

2004-07-17 Thread Kent, Mr. John \(Contractor\)
Gunnar, Thank you. Excellent suggestion. Undoubtedly I've gota lota unnecessary untaintin' goin' on! Thanks, John Kent -Original Message- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Saturday, July 17, 2004 11:37 AM To: [EMAIL PROTECTED] Subject: Re: Efficient Untaint? Mr.

RE: Efficient Untaint? - Thanks.

2004-07-17 Thread Kent, Mr. John \(Contractor\)
Thank you Jeff, Very nice. I will give it a try. (In some cases I know the values will be digits). John Kent -Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED] Sent: Saturday, July 17, 2004 10:34 AM To: Kent, Mr. John (Contractor) Cc: [EMAIL PROTECTED] S

Efficient Untaint?

2004-07-17 Thread Kent, Mr. John \(Contractor\)
Greetings, Is there a more efficient/better way to untaint variables pulled from a cgi query object? Here is an example of what I am currently doing: #!/usr/bin/perl -wT use strict; use CGI; my($query) = new CGI; # I then have 30 untaint checks like this before I start # coding. my($MOSAIC

RE: looking for an apache stats system.

2004-03-19 Thread Kent, Mr. John (Contractor)
Try wwwstat-2.0. It's written in Perl! http://ftp.ics.uci.edu/pub/websoft/wwwstat/ John Kent smime.p7s Description: S/MIME cryptographic signature

Setting a Perl Environmental Variable on Boot-Up

2004-03-19 Thread Kent, Mr. John (Contractor)
Greetings, Is there a way on a Linux machine to set some environmental variables on machine boot-up that are automatically available to all my perl scripts from the environment? For example say I have a Common_Output_Area which my system administrators are frequently changing on me. I would lik