Help parsing on Columns...?

2005-03-09 Thread Tim Musson
*GroupC *GroupD |*GroupE | Local group memberships*RConsole Users *Users |*Administrators `- Thanks! -- Tim Musson Flying with The Bat! eMail v2.12.00

Re: How to process blank line delimeted blocks of text?

2004-10-13 Thread Tim Musson
Hey Luke, BL> Will this work? Yes, that did the trick, thanks! BL> { BL> local $/ = "\n\n"; BL> while () BL> { BL> for $line (split /\n/, $_) BL> { BL> # process lines in a dn section here BL> next unless $line =~ /^(dn:|member:|group

How to process blank line delimeted blocks of text?

2004-10-11 Thread Tim Musson
of the members of the security groups daily and a diff of yesterdays report from todays. Thanks for any suggestions you may have. btw, I am running this on MS, but if you have *nix examples, I can work with that too. Thanks again! -- Tim Musson Flying with The Bat! eMail v2.12.00 The days of the

CSV type data into hash?

2004-09-21 Thread Tim Musson
= ( Name => uas123 Location => 123 street Function => Mail IPAddress => 10.11.12.13 ) Hmmm, I wonder if I just answered my own question by writing it down. Thanks for any input/suggestions you may have! -- Tim Musson Flying with The Bat! eMail v2.12.00 Cannot open f

Re: How to get config file via http

2004-09-01 Thread Tim Musson
the output though. I need to process it then print the line in one column of a table with the results of another process in another column. Thanks for your help! -- Tim Musson Flying with The Bat! eMail v2.12.00 Ever stop to think, and forget to start again? -- To unsubscribe, e-mail:

Re: How to get config file via http

2004-09-01 Thread Tim Musson
) { | # do stuff, for example... | print "$line\n"; | } `- -- Tim Musson Flying with The Bat! eMail v2.12.00 To err is human; To moo is bovine. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: How to get config file via http

2004-08-31 Thread Tim Musson
Hey Chris, My MUA believes you used to write the following on Tuesday, August 31, 2004 at 3:20:50 PM. CD> On Tue, 31 Aug 2004, Tim Musson wrote: >> CD> use LWP::Simple; 8< snip >> Yep, I also noticed Net::HTTP. Any reason I should use

Re: How to get config file via http

2004-08-31 Thread Tim Musson
about it: CD> use LWP::Simple; CD> unless (defined ($content = get $URL)) { CD> die "could not get $URL\n"; CD> } CD> Make sense? Yep, I also noticed Net::HTTP. Any reason I should use one over the other? btw all, thanks for the quick response!

How to get config file via http

2004-08-31 Thread Tim Musson
one to do what I want... Thanks! -- Tim Musson Flying with The Bat! eMail v2.12.00 Taxpayer: Someone who doesn't have to take a public service exam to work for the government. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://lear

Re: Another reference question (hash of hash references)

2003-08-14 Thread Tim Musson
"cn4"; $hash{four}->>{group} = "Group4"; I knew there would be an easy way, don't know why I didn't try that! Thanks again! -- Tim Musson Flying with The Bat! eMail v1.62q Windows 2000 5.0.2195 (Service Pack 3) As I said before, I never repeat myself. --

Re: "HTH"

2003-08-14 Thread Tim Musson
p://catb.org/~esr/jargon/ I like http://www.acronymfinder.com/ -- Tim Musson Flying with The Bat! eMail v1.62q Windows 2000 5.0.2195 (Service Pack 3) Why is it that doctors call what they do "practice"? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Another reference question (hash of hash references)

2003-08-10 Thread Tim Musson
e an array, and push to it because of how we plan to access the top level hash. Background, I am doing an LDAP query for a couple of attributes in one DN, then another LDAP query in a different part of the LDAP tree for some other attributes. The output for each query needs to be grouped by someth

Re: Help please - still not understanding references I think...

2003-07-31 Thread Tim Musson
Hey Peter, My MUA believes you used to write the following on Thursday, July 31, 2003 at 10:45:04 AM. PS> Look for Randal Schwartz's new book on references from O'Reilly. Ah, cool, will get that soonest! -- Tim Musson Flying with The Bat! eMail v1.62q Windows 2000 5.0.

Re: Help please - still not understanding references I think...

2003-07-30 Thread Tim Musson
of $dn is $href->{$dn}{cn}[0]\n"; PS> } That is exactly what I was looking for! PS> (That's taking advantage of the fact that you can leave out -> between PS> closing and opening {} or [].) So my problem was that I was dereferencing the hash, but not the array reference i

Re: Help please - still not understanding references I think...

2003-07-30 Thread Tim Musson
ing. If you copy that reference, you will copy the address so that you are still looking at the same bmc> data. bmc> It is similar to pointers in C. The reference "points" to the data in memory, whereas the variable isn't actually bmc> holding the data. bmc> Does that

Help please - still not understanding references I think...

2003-07-30 Thread Tim Musson
RRAY(0x25d9ec4) and I want it to print the value of "cn" which is Musson, Timothy L Can anyone point me in the right direction? -- Tim Musson Flying with The Bat! eMail v1.62q Windows 2000 5.0.2195 (Service Pack 2) How do you make Windows faster ? Throw it harder -- To un

Re: Help getting output from IO::Socket::INET

2003-06-26 Thread Tim Musson
TECTED]"; print $socket "GET / HTTP/1.1\n\n"; while (<$socket>) { print } # My Problem line... Thanks for any help! -- Tim Musson Flying with The Bat! eMail v1.62q Windows 2000 5.0.2195 (Service Pack 2) Ever stop to think, and forget to start again? -- To unsubscribe,

Help getting output from IO::Socket::INET

2003-06-25 Thread Tim Musson
GMT | | | | | | | | | Test 'root' document. | | | | | Connection to host lost. `- Thanks! -- Tim Musson Flying with The Bat! eMail v1.62q Windows 2000 5.0.2195 (Service Pack 2) "Upgrade: take old bugs out, put new ones in." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help me understand References?

2003-01-27 Thread Tim Musson
hair and do the required reading wdo> first, ;-)check out: wdo> perldoc perlreftut wdo> perldoc perlref Will do that, thanks wdo> These should sufficiently whet your appetite (and make your head wdo> hurt for a while). Thanks again, will have to send a not to the author, as it

Help me understand References?

2003-01-27 Thread Tim Musson
Client (The Bat!) to send and get the same results. (and a command line SMTP mailer - Blat.exe). Hope that is enough info... Frustrated, but trying to expand my understanding... Thanks all! -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2

Re: Counting words in a line?

2003-01-19 Thread Tim Musson
commas in the SJ> string and massage this data into something more palatable to the SJ> application. Type the following at a command prompt; perldoc -q "How do I process each word on each line?" You might also find the Perl Cookbook from O'Reilly useful http://www.oreilly.com

Re: Telnet using IO:Socket module

2003-01-18 Thread Tim Musson
,Chanlel-ID(ATM),DELC(Frame)) | +-----------+ `- -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) MS Windows -- From the people who brought you EDLIN! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Request for a CPAN Module

2003-01-16 Thread Tim Musson
le: I use http://tidy.sf.net for checking/fixing, but don't know if it does xml. -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) MS Windows -- From the people who brought you EDLIN! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Formfeed in html (perl/cgi)

2003-01-13 Thread Tim Musson
intHTML2 { | print <Back | | | | | Sig | } | | sub DTS { #Sec=$T[0],M=1,H=2, mDay=3,Mon=4,Yr=5, wDay=6,yDay=7, isdst=8 | (@T)=localtime(time); $jDay=++$T[7]; $Year=$T[5]+1900; | $DTS="$Year/$T[4]/$T[3] $T[2]:$T[1]:$T[0]"; | } | | exit(); `- My mail client picked that tag line from a large file! - go figure. -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) use Perl; \ program \ fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Best way to return largest of 3 Vars?

2003-01-12 Thread Tim Musson
{$b<=>$a} ($x, $y, $z))[0]; I guess I haven't been paying all that much attention. Have a good one! -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) What color is a chameleon on a mirror? -- To unsubscribe, e-mail: [EMAIL

Re: Formfeed in html (perl/cgi)

2003-01-11 Thread Tim Musson
ork) on Monday if you want. -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) Your mouse has moved. Windows must now reboot. Click OK to continue. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Best way to return largest of 3 Vars?

2003-01-10 Thread Tim Musson
nt "equal 1"); Why the double print statements? ,- [ you can change ] | (print "\$one equals", print "$one") `- ,- [ to ] | (print "\$one equals $one") `- -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.21

Re: Best way to return largest of 3 Vars?

2003-01-10 Thread Tim Musson
ax. Try changing it to -1, it will put the smallest in $max. Similar to how you access values in an array. -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) Whoever has the most when he dies... IS DEAD! -- To unsubscribe, e-mail: [EMAIL PRO

Re: Best way to return largest of 3 Vars?

2003-01-10 Thread Tim Musson
000) | Bob2: 2 wallclock secs ( 1.51 usr + 0.00 sys = 1.51 CPU) `- We will still probably be using "Bob" as it seem easier to read. btw, thanks for the benchmark test, I may try that on some other code I have... -- Tim Musson Flying with The Bat! eMail v1.62 Christmas

Re: Best way to return largest of 3 Vars?

2003-01-10 Thread Tim Musson
=>$a} ($x, $y, $z))[0]; JK> return $max; JK> } -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) Why is "abbreviated" such a long word? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Removing a specific value from a hash whose keys contains multiple values

2003-01-10 Thread Tim Musson
Hey Sophia, My MUA believes you used to write the following on Thursday, January 9, 2003 at 6:48:42 PM. SC> I am not sure how to delete a specific value from a hash whose SC> keys contains multiple values. SC> Could anyone advice, please? Does this help? perldoc -q delete

Best way to return largest of 3 Vars?

2003-01-10 Thread Tim Musson
Hey all, I need to return the largest of 3 vars. Is there a better way than nested IF statements? Maybe put them in an array and sort it? -- Tim Musson Flying with The Bat! eMail v1.62 Christmas Edition Windows 2000 5.0.2195 (Service Pack 2) Why isn't there mouse-flavored cat food? -

Re: good text editor

2002-10-23 Thread Tim Musson
Hey shawn, My MUA believes you used Lotus Notes Release 5.0.8 June 18, 2001 to write the following on Wednesday, October 23, 2002 at 8:48:41 AM. sgc> If anyone knows of a free text editor with customizable syntax sgc> highlighting, I'd like to know about it. I use both www.vim.org and

Re: Is this correct? print syntax

2002-10-11 Thread Tim Musson
Hey Nikola, My MUA believes you used Internet Mail Service (5.5.2650.21) to write the following on Friday, October 11, 2002 at 2:40:28 PM. NJ> I need them.. for NJ> print FILEHANDLE (list, of, stuff), next if (condition); This type of thing is common in my code when I am messing aroun

Re: Is this correct? print syntax

2002-10-11 Thread Tim Musson
Hey Nikola, My MUA believes you used Internet Mail Service (5.5.2650.21) to write the following on Friday, October 11, 2002 at 2:28:27 PM. NJ> Is this correct placement of the parenthesis? NJ> print FILEHANDLE (list_of_print_stuff); The best thing to do is look at perldoc, and try it

Re: Perl Cheatsheets/Notes?

2002-10-08 Thread Tim Musson
Hey Paul, My MUA believes you used Mutt/1.3.28i to write the following on Tuesday, October 8, 2002 at 5:19:38 PM. PJ> let me suggest The Perl Reference Guide, by Johan Vromans. Johan PJ> is a long standing member of the Perl community who has been PJ> keeping this guide pretty much sinc

Re: WHO IS NAVER-MAILER@naver.com ???

2002-10-03 Thread Tim Musson
Hey eric-perl, My MUA believes you used to write the following on Thursday, October 3, 2002 at 1:38:26 AM. eppn> Every time I send a message to this list, I receive a message from eppn> [EMAIL PROTECTED] immediately afterwards. It appears to be garbage eppn> (lots of screwy character

Re: The Perl Journal Magazine -- any good?

2002-10-03 Thread Tim Musson
Hey shawn, My MUA believes you used Lotus Notes Release 5.0.8 June 18, 2001 to write the following on Friday, September 27, 2002 at 3:51:32 PM. sgc> Is this a good magazine for someone interested in Perl, or just sgc> for a hard-core user who uses it every day? I would say it is both!

Re: ActivePerl: Any Alternatives to MS-DOS Prompt?

2002-09-21 Thread Tim Musson
Hey Marshall, My MUA believes you used Microsoft Outlook Express 5.50.4807.1700 to write the following on Saturday, September 21, 2002 at 6:23:46 PM. MG> In Windows, Perl runs from the command (DOS) prompt, and I can't MG> scroll in the command window. MG> Is there anything I can insta

Re: Missing (defined($exe) mail prog on WINNT

2002-09-20 Thread Tim Musson
Hey rob, My MUA believes you used Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 to write the following on Friday, September 20, 2002 at 7:36:37 PM. r> When the program runs I get the following error, which seems to be r> saying I need a system mail program... somet

Re: exec()

2002-09-19 Thread Tim Musson
Hey Willem, My MUA believes you used to write the following on Thursday, September 19, 2002 at 8:27:52 AM. WP> Can anyone give me an example of how to use the exec() command in WP> a perl file? perldoc -f exec The above gets you documentation on the exec function... -- [EMAIL PROTE

Re: Executing DOS "copy" command from perl script via web interface

2002-09-19 Thread Tim Musson
Hey Michael, My MUA believes you used Mutt/1.3.27i to write the following on Tuesday, September 17, 2002 at 7:06:32 PM. MK> In Perl, backslashes escape the character that follows them, just MK> like in C. If you want a literal backslash, you need either "\\" MK> or '\': MK> system("com

Re: HTML

2002-09-19 Thread Tim Musson
Hey Jose, My MUA believes you used Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) to write the following on Thursday, September 19, 2002 at 5:14:11 AM. JCG> I have a text file that i want to convert to HTML, how do i do JCG> this? How does this relate to Perl? You could just hit t

Re: Final Code (I think it's gonna work!)

2002-09-18 Thread Tim Musson
Hey Timothy, My MUA believes you used Internet Mail Service (5.5.2650.21) to write the following on Wednesday, September 18, 2002 at 11:55:12 AM. I would also suggest 'use warnings;' instead of -w on your #!/perl line. See perldoc perllexwarn for more information. TJ> You might wan

Re: Executing DOS "copy" command from perl script via web interface

2002-09-17 Thread Tim Musson
Hey FlashGuy, My MUA believes you used PMMail 2000 Standard (2.20.2502) For Windows 2000 (5.1.2600;1) to write the following on Tuesday, September 17, 2002 at 8:00:06 AM. F> I have a web interface where I'm executing a compiled perl script. F> Within the perl script I'm trying to execut

Re: Windows /dev/null device

2002-09-12 Thread Tim Musson
Hey Mohd, My MUA believes you used to write the following on Wednesday, September 11, 2002 at 4:13:56 AM. MS> Hi , MS> How I can send my errors to a null device under windows environment(winxp). MS> I tried $myoutput= `anycommand 2>null ` , but always this command create a MS> file

Re: system function question

2002-09-07 Thread Tim Musson
Hey Brian, My MUA believes you used Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 to write the following on Saturday, September 7, 2002 at 10:00:23 PM. BV> Hi All, BV> I'm trying to write a program that will calculate the number of days BV> between

Re: Newbie question - Can smtp send attachments?

2002-09-04 Thread Tim Musson
Hey Alex, My MUA believes you used Internet Mail Service (5.5.2653.19) to write the following on Wednesday, September 4, 2002 at 2:39:07 PM. YA> Hi, YA> Having problems with just a simple test of MIME::Lite. Here is the output: YA> *

Re: How to get Multi-Line file into $var?

2002-09-03 Thread Tim Musson
Hey Bob, My MUA believes you used Internet Mail Service (5.5.2650.21) to write the following on Tuesday, September 3, 2002 at 2:56:13 PM. >>I need to read a file and put it in a $Variable (not @Array). BS> { local $/; $body = } Thanks all, this is what I was forgetting! -- [EMA

How to get Multi-Line file into $var?

2002-09-03 Thread Tim Musson
hey Perl people!, Can't seem to get my brain to work this afternoon... I need to read a file and put it in a $Variable (not @Array). What I am doing is a bit of code to run a SMTP mail sender (yes, I know Net::SMTP works great, but this is how the customer want's it). So I ha

Re: don't known which module I need

2002-08-22 Thread Tim Musson
Hey Gaël, My MUA believes you used QUALCOMM Windows Eudora Version 5.1.1 to write the following on Thursday, August 22, 2002 at 2:49:10 AM. GB> Hello I need to write a script which give mac address when I give GB> IP address of my LAN. GB> But I can't find which module I need to use.

Re: IDE's

2002-08-22 Thread Tim Musson
Hey Matt, My MUA believes you used Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) to write the following on Thursday, August 22, 2002 at 4:10:40 AM. >> I'm using Komodo from Active State and find it very slow when >> running code. Can anyone recommend a Windows based app that >> pro

Re: NAVER-MAILER@naver.com

2002-08-16 Thread Tim Musson
Hey Jerry, My MUA believes you used Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) to write the following on Friday, August 9, 2002 at 7:36:40 AM. JP> Every time I send an e-mail to Beginners I get an e-mail JP> [EMAIL PROTECTED], and my e-mail admin says that it contains a JP> viru

Re: scripting .pl files in Windows

2002-08-14 Thread Tim Musson
Hey Beans, My MUA believes you used to write the following on Wednesday, August 14, 2002 at 1:29:57 PM. B> I'm very very new at Perl. I have a question regarding Perl B> scripting on Windows. I'm using library books to learn and most of B> the examples are for UNIX B> My question

Re: Help with IO::Socket::INET

2002-08-14 Thread Tim Musson
Hey zentara, My MUA believes you used to write the following on Wednesday, August 14, 2002 at 8:20:39 AM. z> It works for me if I comment out the "print $remote" and z> uncomment the while ( <$remote> ) { print; } Grrr, I just tried a different http server, and it works just fine...

Re: Help with IO::Socket::INET

2002-08-13 Thread Tim Musson
Hey George, Ok, can you point me to an example? I have never used that module before, and it has been probably 4 years since I have done something like this. From a browser what would happen is 1. hit the router/switch 2. respond to the userid/pw challenge 3. go to a new page I would

Help with IO::Socket::INET

2002-08-13 Thread Tim Musson
Hey perlers, I have this bit of cgi code that is not working any more (I am sure it did at one time, but I must have modified it wrong) and I need to resurrect it. What I am trying to accomplish is to check the Wan address of a NetGear broadband router. The method I am trying to use is to telne

Re: perl help

2002-07-11 Thread Tim Musson
Hey Javeed, My MUA believes you used Internet Mail Service (5.5.2653.19) to write the following on Thursday, July 11, 2002 at 5:06:22 AM. >> i want to push the contents of array @MSG (Given below) to a file call >> testblat.txt. Running Blat are you? -- just curious, why are you using perl to

POD question

2002-07-10 Thread Tim Musson
beginners, I am trying to add some docs to my code, and want to add a link to another document. I have seen it work, but can't figure it out. Running ActiveState Perl Trying pod2html example I am trying to follow perlpod.html has a link to perlsyn.html pod code for the

Re: running perl scripts on Windows

2002-06-18 Thread Tim Musson
Hey learn, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 2:49:32 PM. lp> use #!d:\perl\bin\perl.exe -w lp> on top of your script As I recall, the #! in Windows only uses the switches (-w). So #!perl -w is the same as #!d:\perl\bin\perl -w Can

Re: running perl scripts on Windows

2002-06-18 Thread Tim Musson
Hey A, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 10:41:41 AM. AT> Hi Tim, thanks for your help, >>My MUA believes you used (X-Mailer not set) >>to write the following on Tuesday, June 18, 2002 at 9:55:51 AM. AT> what is MUA ? Mail User

Re: running perl scripts on Windows

2002-06-18 Thread Tim Musson
Hey A, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 9:55:51 AM. AT> Hi >>what happens when you try to run a script from commmand line? is the perl >>executable in your path? AT> No - the error I get is: AT> example.pl is not recognised as an i

Re: RegEx to match Valid IP Address

2002-06-14 Thread Tim Musson
Hey Mat, My MUA believes you used NeoMail 1.25 to write the following on Friday, June 14, 2002 at 9:04:54 AM. MH> actually, it should only be 1-254 inclusive as 255 is reserved for MH> broadcast or other special addresses (sometimes not used atall). MH> oficially the 255 node it ignored. I don'

RegEx to match Valid IP Address

2002-06-14 Thread Tim Musson
, I seem to recall a discussion on a RegEx to match an IP address, but can't seem to find it. Anyone have any ideas, or recall what it would be? Or could toss it together? First Octet is 1-255 inclusive, Second Octet is 0-255 inclusive, Third Octet is 0-255 inclusive, Fourth Octe

Re: IP

2002-06-12 Thread Tim Musson
Hey Thiago, My MUA believes you used Microsoft Outlook Express 5.00.2615.200 to write the following on Tuesday, June 11, 2002 at 3:39:03 PM. TF> Hi TF> I need to control the access for some files in my httpd and I'd like to know if I can do this by knowing the IP of the computer that is re

Re: perl newbie

2002-06-04 Thread Tim Musson
Hey ppriest, My MUA believes you used Internet Mail Service (5.5.2653.19) to write the following on Tuesday, June 4, 2002 at 1:38:41 PM. pic> Unix Sys administrator, versed in most shells, ksh, bourne, bash pic> etc. pic> What is the best way for me to lean perl? Learning Perl, 3rd Edition fro

Re: bounces from list memeber(s)?

2002-05-28 Thread Tim Musson
Hey Kari, My MUA believes you used The Bat! (v1.60m) to write the following on Monday, May 27, 2002 at 4:07:09 PM. KJ> Hello Perl Beginners, KJ> On Mon, 27 May 2002, 09:28:16 h [GMT -0400] (which KJ> was 15:28:16 h [GMT +0200] where I live) Tim Musson wrote: >> Any one else

[ot?] bounces from list memeber(s)?

2002-05-27 Thread Tim Musson
perl listrs, Any one else having problems with sending mail to the list and getting a junk back from <[EMAIL PROTECTED]> addresses? The subject line in the headers are not readable, but my eMail client interprets it as ¸ÞÀÏ Àü¼Û ½ÇÆÐ ¾Ë¸² <[EMAIL PROTECTED]> and ¸ÞÀÏ Àü¼Û ½ÇÆÐ ¾Ë¸²

Re: ActivePerl problem

2002-05-27 Thread Tim Musson
Hey mark, My MUA believes you used Microsoft Outlook Express 5.50.4522.1200 to write the following on Sunday, May 26, 2002 at 7:36:13 PM. >> It has always just worked for me... when you drop to a cmd prompt and >> type 'path' what do you get? here is what mine looks like >> PATH=D:\Perl\bin\;

Re: ActivePerl problem

2002-05-26 Thread Tim Musson
Hey mark, My MUA believes you used Microsoft Outlook Express 5.50.4522.1200 to write the following on Sunday, May 26, 2002 at 12:47:39 AM. m> Hi, m> I can't seem to get ActivePerl working on my win2k machine. m> I checked my enviroment variables and found it not there. I edited my ev's m> to

Re: counter spam - was Re: reading from .forward

2002-05-25 Thread Tim Musson
Hey Harry, My MUA believes you used (X-Mailer not set) to write the following on Friday, May 24, 2002 at 10:07:46 PM. >> For spam or bad address, I let my procmailrc return EXITCODE=67. >> That causes Sendmail or Postfix to bounce the message hard. HJ> Correct me if I am wrong (I have no doubt

counter spam - was Re: reading from .forward

2002-05-24 Thread Tim Musson
d> while() { d> # grovel through the email message d> # get what you want out of it d> # also should note any spam sent this way to d> # counter spam them so as to prevent webCrawlers d> # and spamBots from

Re: ls --> index.txt in each directory

2002-05-22 Thread Tim Musson
Hey drieux, My MUA believes you used Apple Mail (2.481) to write the following on Wednesday, May 22, 2002 at 11:56:41 AM. >> Uh, I may be on the wrong list... Is there a pre-beginners list? =) d> nope - pre-beginners are merely beginners who are not fully in d> denial I wonder if there is

Re: win32 mail

2002-05-21 Thread Tim Musson
Hey Arran4, nope, no send mail client in the default install of Win. I usually use something I grabbed from TPJ use Net::SMTP; my($mh, $MailTo, $Subject, $MessageBody); #don't forget to set each of the above! sub sendMail { my $smtp = Net::SMTP->new("$mh"); $smtp->mail($MailTo); # en

Re: Makefile.pl, now what?

2002-05-19 Thread Tim Musson
Hey Eric, My MUA believes you used QUALCOMM Windows Eudora Version 5.1 to write the following on Sunday, May 19, 2002 at 9:09:31 PM. EB> To install CPAN modules on a W32 PC, you need to get a copy of EB> nmake . EB> Then, all you have to do

Makefile.pl, now what?

2002-05-19 Thread Tim Musson
I just grabbed a a module from CPAN (Pod-PalmDoc-0.0.2.tar.gz) and ran the 'Makefile.pl' code. It generated 'Makefile' now what? I am running ActiveState on Win32. No C complier, but I don't see why I would need one (it is only one .pm file, and belongs in the /lib/pod dir.) Seems to me there s

use warning; vrs diagnostics;

2002-05-18 Thread Tim Musson
Hey all, I have noticed people suggesting/using the 'use warnings;' statement, and I had been using the 'use diagnostics;' statement. I started the 'diagnostics' thing based on reading this list a number of months ago. Now the recomendation seems to have changed. Is that true, and if

Re: help!

2002-05-18 Thread Tim Musson
Hey Haitham, My MUA believes you used Microsoft Outlook Express 6.00.2600. to write the following on Friday, May 17, 2002 at 10:08:48 PM. HNT> Hi, I am working on a chunk of PERL software that can find out HNT> the groups of consecutive numbers located within a list. For HNT> instance imagin

Re: Mail?

2002-05-11 Thread Tim Musson
Hey Bill, My MUA believes you used Microsoft Outlook Express 6.00.2600. to write the following on Saturday, May 11, 2002 at 9:48:14 PM. BL> I'm making a script that will sent info to a user verify. BL> like this $MAIL->>datasend('.$fname'."\n"); BL> is this correct or not BL> Also I need

Re: Aerial and Satellite immages

2002-05-03 Thread Tim Musson
Hey John, My MUA believes you used (X-Mailer not set) to write the following on Friday, May 3, 2002 at 8:32:28 AM. JB> How did you get the aerial photo? I can't find any links to show JB> ariel photos when I start over with my own location. at mapquest, bring up your street, the just above the m

Re: Aerial and Satellite immages

2002-05-03 Thread Tim Musson
Hey Tim, My MUA believes you used The Bat! (v1.60h) Personal to write the following on Friday, May 3, 2002 at 7:37:43 AM. TM> Here is my house... Sorry, looks like a mail template got away from me... -- [EMAIL PROTECTED] MUA = TB! v1.60h (www.RitLabs.com/The_Bat) Windows 2000 5.0.2195 (Servic

Re: Aerial and Satellite immages

2002-05-03 Thread Tim Musson
Hey LeeRM43, My MUA believes you used Atlas Mailer 2.0 to write the following on Friday, May 3, 2002 at 7:13:49 AM. Lac> Check out the overhead view of your house at: Lac> terraserver.homeadvisor.msn.com Lac> Do not put WWW in front of the above. You get a better photo from www.Mapquest.com H

Re: Please Help

2002-04-30 Thread Tim Musson
Hey Josef, My MUA believes you used Microsoft Outlook Express 5.50.4133.2400 to write the following on Tuesday, April 30, 2002 at 3:37:35 PM. JEG> Thanks for your reply Dave. Now I am getting 'No such file or JEG> directory' when i am sure that the file exists JEG> I changed line 1 to: JEG> $fil

Re: Name resolution from IP

2002-04-30 Thread Tim Musson
Hey John, My MUA believes you used Internet Mail Service (5.5.2655.55) to write the following on Tuesday, April 30, 2002 at 9:32:33 AM. JE> How can I resolve a machine name from an IP address? The machine JE> that the script is running on is NT4. JE> I've tried this (with use Socket qw(:DEFAULT

Re: CPAN?

2002-04-30 Thread Tim Musson
Hey Bryan, My MUA believes you used Lotus Notes Release 5.0.5 September 22, 2000 to write the following on Thursday, April 25, 2002 at 1:41:05 PM. BRH> This is the beginners list, right? Yep BRH> I heard that you could find code for almost anything at CPAN. How do you BRH> go about this? Go

Re: Net::SNMP module example failing

2002-04-25 Thread Tim Musson
Hey Ted, My MUA believes you used (X-Mailer not set) to write the following on Wednesday, April 24, 2002 at 9:56:09 PM. TH> Hello, TH> I'm executing the 1st example (get sysUpTime) in the TH> Net::SNMP module at TH> http://search.cpan.org/doc/DTOWN/Net-SNMP-4.0.1/lib/Net/SNMP.pm TH> The exampl

Re: Easy CMD window

2002-03-25 Thread Tim Musson
Hey zentara, My MUA believes you used (X-Mailer not set) to write the following on Sunday, March 24, 2002 at 9:08:02 AM. z> On Sun, 24 Mar 2002 03:31:17 -0800, [EMAIL PROTECTED] (Gary Hawkins) z> wrote: >>Is there a way to set up for starting a CMD window using a right click within >>that folder

Re: Bit reversal of MAC Address bytes...

2002-03-19 Thread Tim Musson
Thanks to all who sent pointers! Here is my code before I put it up as a web page tool (and clean it up and comment it ). comments/suggestions anyone? #!perl -w use strict; use diagnostics; my $debug = "yes"; my (@mac); my $mac = "0123 6789 cdef"; $mac =~ s/\s//g; my $i = 0; while($mac =~ /(.{

Re: Bit reversal of MAC Address bytes...

2002-03-19 Thread Tim Musson
Hey David, My MUA believes you used Microsoft Outlook, Build 10.0.2627 to write the following on Monday, March 18, 2002 at 4:22:02 PM. >> 1. How do I brake the MAC Address up into bytes? DG> I'm not exactly sure what format you're getting the MAC address in, but DG> it looks like you're just s

Bit reversal of MAC Address bytes...

2002-03-18 Thread Tim Musson
hey perl guru's, I have need to do a bit reversal of a MAC address (some Token Ring to Ethernet thing) and am stumped. Cisco has an app on their web site if you can log in, but not everyone can log in, and I am not always attached... So I was thinking I would build one myself, but not

Re: Maestro Schmitter

2002-03-16 Thread Tim Musson
Kim, Thank you for the note. Please send on when the services are, I do want to attend. My MUA believes you used Microsoft Outlook Express 5.50.4133.2400 to write the following on Saturday, March 16, 2002 at 3:59:43 PM. KR> I received this from Fred Freiheit this morning. KR> Kim Rahl KR> <

Re: How to split on case boundries?

2002-02-22 Thread Tim Musson
Hey Jeff, My MUA believes you used (X-Mailer not set) to write the following on Thursday, February 21, 2002 at 2:13:31 PM. JjP> On Feb 20, Tim Musson said: >>The people who control the data want to remove the _ chars and make >>the delimiter based on the case of the chars (fir

How to split on case boundries?

2002-02-21 Thread Tim Musson
Hey all, My current source looks like this ua_bit_essd_si I split on _ into @dpt. The people who control the data want to remove the _ chars and make the delimiter based on the case of the chars (first char of each part is uc, all others are lc)... So the source would look like this UaBitE

Re[2]: How to run DOS batch files or DOS commands in the Perl script

2001-11-24 Thread Tim Musson
Hey Jason, My MUA believes you used (X-Mailer not set) to write the following on Friday, November 09, 2001 at 9:00:17 PM. You can use %ENV to access the environment (variables). foreach $env_var (sort keys %ENV) { print "$env_var = $ENV{$env_var}\n"; } JYh> Hi Alfred, Base on your answer

Re: learning perl

2001-10-25 Thread Tim Musson
Hey Daniela, My MUA believes you used (X-Mailer not set) to write the following on Thursday, October 25, 2001 at 10:15:32 AM. DMA> where can i obtain the software to install it DMA> in my machine w95 or w2000?? www.activestate.com It comes with Doc's (perldoc, and c:\perl\html\index.html) DMA

Re: Get MAC address from Win32 Machine

2001-10-25 Thread Tim Musson
Hey Mike, My MUA believes you used (X-Mailer not set) to write the following on Wednesday, October 24, 2001 at 5:01:29 PM. MR> Hi all -- MR> I need to gather the MAC address from some win32 MR> machines. Which module would you recommend? MR> Is Win32::NetAdmin the right one? I would probabl

Re[2]: ActivePerl - how does one configure for HTML

2001-07-21 Thread Tim Musson
Monday, July 16, 2001, 4:23:26 PM, my MUA believes you used (X-Mailer not set) to write: BWM> On Mon, 16 Jul 2001, Stout, Joel R wrote: >> WinNT comes with "Personal Web Server" (PWS) which is how I'm learning Perl >> CGI. You can put your scripts in C:\Inetpub\wwwroot\cgi-bin. You can then >>

Re: How to send a notification mail from Windows/NT?

2001-07-21 Thread Tim Musson
Hey David, Thursday, July 19, 2001, 9:27:19 PM, my MUA believes you used Internet Mail Service (5.5.2653.19) to write: ND> Hi, ND> When I use the following script to send mail: ND> #!perl -w use Strict; # here? use Diagnostics; # here? ND> ### script name "smtp_mailer2.pl" ND> use Net::SMTP;

Re: Still can't get this !@#$%^&* to work

2001-07-21 Thread Tim Musson
Hey Tom, Wednesday, July 18, 2001, 10:25:02 AM, my MUA believes you used (X-Mailer not set) to write: TY> Hey all, Okay, I'm still trying to get this log file script to TY> work. The end result should just be, if it's the 18th, the log TY> file should be 09FIMSOM090Aevent-20010717.log. How

Re: Windows Directory Parsing and Deleting

2001-07-21 Thread Tim Musson
\n\nStarting at $T[2]:$T[1]:$T[0]\n"); } =head1 NAME - Archive network file system files =head1 SYNOPSIS B reads (or creates if it does not exist) DriveCleanup.xml - the configuration file. Then moves files to another directory, maintaining the directory structure, for archive. =head1 D

  1   2   >