Re: regenerating AS perl html docs

2005-10-07 Thread Chris Wagner
At 06:06 PM 10/7/05 -0700, $Bill Luebkert wrote: >> I'll even "Me too" Bill's opinion, but I think it is irrelevant. DHTML >> is not a M$-only feature of a browser. >1) It's not in all popular browsers yet. Strictly speaking, it is. All the way back to Netscape 4.0 there was some DHTML support.

Re: regenerating AS perl html docs

2005-10-07 Thread $Bill Luebkert
Richard A. Wells wrote: > $Bill Luebkert wrote: > >> I'm against exploring any M$-only features of a browser - just doesn't >> make any sense since people that use Perl are much less likely to use >> M$ software over freeware (ie: they're smarter than your average user). >> > Agreed. And neither

Re: regenerating AS perl html docs

2005-10-07 Thread $Bill Luebkert
Glenn Linderman wrote: > > I'll even "Me too" Bill's opinion, but I think it is irrelevant. DHTML > is not a M$-only feature of a browser. 1) It's not in all popular browsers yet. 2) We're not just talking DHTML here - we're talking anything that is peculiar to M$ mostly/only (that's for all f

RE: regenerating AS perl html docs

2005-10-07 Thread Chris Wagner
Thanks, that did it. But I'm still perturbed that that new TOC was even put out there as "the way". Is it so much to even give us an option At 12:29 PM 10/7/05 -0700, Jan Dubois wrote: >but here is a quick workaround to get the old style help back: > >* Delete (or rename) the Perl/html/displ

Re: regenerating AS perl html docs

2005-10-07 Thread Chris Wagner
At 11:59 AM 10/7/05 -0700, Jeff Griffiths wrote: >All the docs are also available online ins a very static format: >http://aspn.activestate.com/ASPN/docs/ASPNTOC-ACTIVEPERL/ >These should be viewable even if you're still using IE 3 or something. Thanks but that's a workaround not a solution. Why

Re: regenerating AS perl html docs

2005-10-07 Thread Richard A. Wells
$Bill Luebkert wrote: Richard A. Wells wrote: Chris Wagner wrote: Now I see what happened. Somebody at ActiveState thought they would be cute by replacing the old TOC with a DHTML expansion menu. [...] I, too, preferred the old way, esp. since I could browser-search the TOC t

Re: regenerating AS perl html docs

2005-10-07 Thread David . Wright
me too. Many times a day I hit ctrl-f in that window looking for XML or TWIG or WAV or whatever. Now I can't do anything. We upgraded in the company because of some fixes we needed for xml and utf8, but the docs are useless. David Wright

Re: regenerating AS perl html docs

2005-10-07 Thread $Bill Luebkert
Jan Dubois wrote: > > There is nothing Microsoft specific in the ActivePerl docs except > for the PerlScript samples and the OLE browser. They have no > choice as their purpose is to show off the PerlScript functionality > which is an ActiveX scripting engine thingie. See that you keep it that w

RE: regenerating AS perl html docs

2005-10-07 Thread Jan Dubois
On Fri, 07 Oct 2005, $Bill Luebkert wrote: > I'm against exploring any M$-only features of a browser - just > doesn't make any sense since people that use Perl are much less > likely to use M$ software over freeware (ie: they're smarter than > your average user). There is nothing Microsoft specifi

RE: regenerating AS perl html docs

2005-10-07 Thread Peter Guzis
*Doh* What Jan Said :) *mutters something about timing* -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jan Dubois Sent: Friday, October 07, 2005 12:30 PM To: 'Chris Wagner'; perl-win32-users@listserv.ActiveState.com Subject: RE: regenerating AS perl html do

RE: regenerating AS perl html docs

2005-10-07 Thread Peter Guzis
You could just save a copy of your favorite ActivePerl::DocTools version prior to upgrading. After the new ActivePerl version is installed, just run: perl -e "BEGIN { unshift @INC, 'path/to/doctools'; require ActivePerl::DocTools; } ActivePerl::DocTools::UpdateHTML(1);" Then back up your perl/

Re: regenerating AS perl html docs

2005-10-07 Thread $Bill Luebkert
Richard A. Wells wrote: > Chris Wagner wrote: > >> Now I see what happened. Somebody at ActiveState thought they would be cute >> by replacing the old TOC with a DHTML expansion menu. [...] >> > I, too, preferred the old way, esp. since I could browser-search the TOC > to find a module by substr

RE: regenerating AS perl html docs

2005-10-07 Thread Jan Dubois
On Fri, 07 Oct 2005, Chris Wagner wrote: Hi Chris, > This is crap. If I don't hear from somebody at ActiveState about > a remedy for this soon I'll have no choice except to go back to > build 811. I guess no more upgrades for me. ActiveState only > wants to do buisness with "cool", "hip", "with i

Re: regenerating AS perl html docs

2005-10-07 Thread Craig Cardimon
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 1:42 PM To: perl-win32-users@listserv.ActiveState.com Subject: Re: regenerating AS perl html docs Now I see what happened. Somebody at ActiveState thought they would be cute by replacing

Re: regenerating AS perl html docs

2005-10-07 Thread Jeff Griffiths
Hi Chris All the docs are also available online ins a very static format: http://aspn.activestate.com/ASPN/docs/ASPNTOC-ACTIVEPERL/ These should be viewable even if you're still using IE 3 or something. Chris Wagner wrote: If I don't hear from somebody at ActiveState about a remedy for this

RE: regenerating AS perl html docs

2005-10-07 Thread Zeltov Alex
I agree, I have Firefox and I am running into the similar issues. I hate the new TOC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 1:42 PM To: perl-win32-users@listserv.ActiveState.com Subject: Re: regenerating AS perl html docs No

Re: regenerating AS perl html docs

2005-10-07 Thread Richard A. Wells
Chris Wagner wrote: Now I see what happened. Somebody at ActiveState thought they would be cute by replacing the old TOC with a DHTML expansion menu. [...] I, too, preferred the old way, esp. since I could browser-search the TOC to find a module by substring. At least an expand all/clear all

Re: regenerating AS perl html docs

2005-10-07 Thread Chris Wagner
Now I see what happened. Somebody at ActiveState thought they would be cute by replacing the old TOC with a DHTML expansion menu. Well let me tell ya, it was not a good idea. I use Netscape 4.8 and the entire user guide does not work. No warning, no change notes, no options to leave it be. It

RE: how to interact with an endless loop

2005-10-07 Thread Su, Yu (Eugene)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Friday, October 07, 2005 6:02 AM > To: perl-win32-users@listserv.ActiveState.com > Subject: RE: how to interact with an endless loop > > Eugene, > > I had a loop that took hour

Re: Parsing PIX Log

2005-10-07 Thread Chris Wagner
Sure. Assuming no other ip's will appear in the log entry, and that the source ip is always first: ($source, $dest) = $line =~ m/^.+?(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).+?(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{ 1,3}).*$/; At 12:23 AM 10/7/05 -0400, [EMAIL PROTECTED] wrote: >Hi, > >I am trying to parse

Perl based formatting

2005-10-07 Thread Suresh Govindachar
Hello, I am looking for recommendations on perl based text formatting and aligning utilities/modules. On cpan, I found Text::Reflow, Text::Format, Text::Aligner and Text::Table, but I am hoping to get responses from people who use (or have evaluated) such modules. (Various people recommended h

RE: Variable definition

2005-10-07 Thread Andy_Bach
To add a zero pad ("printf" if you just want it printed zero padded): my $padded_name = sprintf("%02d", $month); the 'zero' is the pad char, the '2' is the number of places to pad to To get rid of it: print "The month number is: ", $padded_name + 0, "\n"; that is, use it as an integer and Perl'

RE: Parsing PIX Log

2005-10-07 Thread Andy_Bach
my $entry = 'Sep 26 17:05:11 pixfw.testsec.org %PIX-3-106010: Deny inbound protocol 12 src outside:123.97.104.117 dst intf2:192.168.50.10'; chomp($entry); my ($date_stuff, $min, $sec, $info, $IP1, $IP2) = split(/:/, $entry); $date_stuff .= ":$min:$sec"; #print" ($date_stuff\n $info\n $IP1\n $IP2

RE: Variable definition

2005-10-07 Thread Ken Barker
try:   $month = 7;   $month = sprintf("%02d",$month);         This may seem like a simple question, but I have a variable $month=7 but I want to represent it as $month=07.  How is this done.  I am not sure what to search on to find out how to do this, hence I am here. Thanks in

Re: how to interact with an endless loop

2005-10-07 Thread pDale
On 10/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I had a loop that took hours to complete and it ran multiple iterationsover several days. I could have pressed Control-C or Control-Break but that would have killed it instantly with completing the currentiteration. What I wanted was to compl

RE: Variable definition

2005-10-07 Thread Joe Discenza
Pierce, Glen E wrote, on Fri 10/7/2005 09:35 : This may seem like a simple question, but I have a variable $month=7 but I want to represent it as $month=07.  How is this done.    $month = sprintf("%02d", $month);   Good luck,   Joe  

RE: Variable definition

2005-10-07 Thread Dirk Bremer
$month = '07'; Dirk Bremer - Senior Systems Engineer - ESS/AMS - NISC Lake St. Louis MO - USA Central Time Zone636-755-2652 fax 636-755-2503[EMAIL PROTECTED]www.nisc.coop   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierce, Glen ESent: Friday, October 07,

Re: Variable definition

2005-10-07 Thread Ted Schuerzinger
Pierce, Glen E graced perl with these words of wisdom: > This may seem like a simple question, but I have a variable $month=7 but > I want to represent it as $month=07. How is this done. I am not sure > what to search on to find out how to do this, hence I am here. Do you really want the value

RE: Variable definition

2005-10-07 Thread Hicks, Bob
>This may seem like a simple question, but I have a variable $month=7 but I >want to >represent it as $month=07.  How is this done.  I am not sure what to >search on to find >out how to do this, hence I am here. If I do: $month = '07'; print "The month is: $month\n"; I get: The month is: 07

Variable definition

2005-10-07 Thread Pierce, Glen E
This may seem like a simple question, but I have a variable $month=7 but I want to represent it as $month=07.  How is this done.  I am not sure what to search on to find out how to do this, hence I am here. Thanks in advance, Glen.   The Home Depot 2455 Paces Ferry Rd Atlanta 30339  

RE: Parsing PIX Log

2005-10-07 Thread Peter Eisengrein
my $entry = 'Sep 26 17:05:11 pixfw.testsec.org %PIX-3-106010: Deny inbound protocol 12 src outside:123.97.104.117 dst intf2:192.168.50.10'; my ($src,$dest) = $entry =~ /:(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).+:(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} )/; > -Original Message- > From: Kamal Ahm

RE: how to interact with an endless loop

2005-10-07 Thread Keith.Watson
> Hi All, > > I want to write a simple perl script to start an endless loop (for reading > data from a periphery device, such as a measurement unit), but I also want > to be able to stop it anytime. Right now I use "Ctrl-Alt-Del" to do it. > There must be a better way. I has been trying to use ope

RE: regenerating AS perl html docs

2005-10-07 Thread Hicks, Bob
> -Original Message- > Does anybody know how to manually regenerate the html documentation in the > ActiveState perl tree? This is what I got from AS itself: perl -MActivePerl::DocTools -eUpdateHTML(1) There are known issues with IE but thankfully I use Firefox. HTH, Robert ___

Re: regenerating AS perl html docs

2005-10-07 Thread Steve Dawson
Chris Wagner wrote: Does anybody know how to manually regenerate the html documentation in the ActiveState perl tree? I had the same problem when I upgraded. I found a technote on the ActiveState site about the way java ran under IE. It recommended switching to Mozilla. It runs like a dream

Re: Parsing PIX Log

2005-10-07 Thread Sisyphus
- Original Message - From: "Kamal Ahmed" <[EMAIL PROTECTED]> To: Sent: Friday, October 07, 2005 2:23 PM Subject: Parsing PIX Log > Hi, > > I am trying to parse : > Sep 26 17:05:11 pixfw.testsec.org %PIX-3-106010: Deny inbound protocol 12 > src outside:123.97.104.117 dst intf2:192.168.5

RE: regenerating AS perl html docs

2005-10-07 Thread Rahul Chauhan
You would be able to regenerate the html/css tree by writing a small script (below) --- use ActivePerl::DocTools; ActivePerl::DocTools::WriteTOC(); for more info, check the modules under ActivePerl::DocTools. cheers, Rahul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL P