Re: analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread Felix Geerinckx
on Sat, 25 May 2002 00:14:11 GMT, Michael Fowler wrote: > Based on empirical evidence (that is, I looked through some saved > messages in my mailbox) and RFC822 the In-Reply-To: header consists > of the Message-Id being replied to. Given that, you could trace down > to the original message throu

Compression::Bzip2

2002-05-24 Thread M. Benavides
Hi: I'm trying Compression::Bzip2 to compress a file before upload it to a server via ftp, but Compression::Bzip2::compress is doing the file bigger, perldoc says: COMPRESSION FUNCTIONS $dest = Compress::Bzip2::compress($string) Compress a string using the default compression l

off topic - mail under win32

2002-05-24 Thread Hytham Shehab
hi guys, when working under linux/unix systems, u can check if the script u create successfuly send the email or not, there is too many way to check this, such as switching to other user account, how can do i setup a fictious email account on win xp then check - efficiently - that the script w

Search engines and SSI

2002-05-24 Thread Troy May
Hello, Do search engines see/read the HTML that you include through an SSI? Or will they ignore it? For example, I include a header page for all my pages so I only have to update one page instead of 23. Will the search engines pick up my META tags that are in this header file? -- To unsubsc

Re: Lies, damn lies and statistics

2002-05-24 Thread Harry Jackson
--- Felix Geerinckx <[EMAIL PROTECTED]> wrote: > Yearly posting statistics for perl.beginners - 2001. What would be really clever is if you could do the same sort of stats for good code ;-). I would not feature in the top ten of any timescale. Harry ___

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

2002-05-24 Thread Harry Jackson
--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote: > > For spam or bad address, I let my procmailrc return EXITCODE=67. > That causes Sendmail or Postfix to bounce the message hard. Correct me if I am wrong (I have no doubt you will). I am never that sure of the relative merits of sending bo

Requesting some help. Any Ideas about this code and err msg?

2002-05-24 Thread Daniel J. Rychlik
Hey Guys I need some help. I have been working on this script for a week now trying to out put my sql data into an excel macro. I have tried everything I know how to do and I need some direction. Please advise. Heres my code: #!perl use DBI; use IO::File; use Win32::OLE; use Win32::OLE::Cons

Making a binary distribution (ppm/ppd)

2002-05-24 Thread Beau E. Cox
Hi all - I have written a Win32 module that exposes part of the Windows DirectX (audio) sub-system. I want to put it on my web site to see if there is any interest out there for such a beast. I have made a source distribution that works fine using the normal initialization sequen

Re: analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 03:06 , Felix Geerinckx wrote: > on Fri, 24 May 2002 21:10:29 GMT, Drieux wrote: [..] >> as was the 'traditional mainstream family values based model' >> of early usenet news groups > > I hope your not implying that usenet is a thing of the past (because it's > not

Password Cracking or what with was Re: Crypt:: or ???

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 03:33 , Egor Brandt wrote: > but I wanna know everybody's password... I can't do without decrypting > them, can I, or are they gonna tell me when I simply ask? Depending upon the authentication 'service' there are a variety of ways you can hack them. Few of them use

Re: analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 03:54 , Felix Geerinckx wrote: > Not if the References are missing. You would e.g. never now whether a > reply was to the original article or to another reply in the same thread. Good point there - since in the case of my using things like Mail::Mailer et al, to sho

Re: analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread Michael Fowler
On Fri, May 24, 2002 at 10:54:57PM -, Felix Geerinckx wrote: > on Fri, 24 May 2002 22:47:24 GMT, Michael Fowler wrote: > > > It seems to me that by looking at both the References: and > > In-Reply-To: headers you could accurately reconstruct all of the > > threads. > > Not if the Reference

Re: analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 22:47:24 GMT, Michael Fowler wrote: > It seems to me that by looking at both the References: and > In-Reply-To: headers you could accurately reconstruct all of the > threads. Not if the References are missing. You would e.g. never now whether a reply was to the original ar

Re: analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread Michael Fowler
On Fri, May 24, 2002 at 10:06:13PM -, Felix Geerinckx wrote: > Traditionally, threads are not reconstructed by looking at the subject > beader, but at the references header. Unfortunately, since this *is* > basically a mailing list (which fortunately has a nntp interface), a lot > of these

Re: Crypt:: or ???

2002-05-24 Thread Egor Brandt
but I wanna know everybody's password... I can't do without decrypting them, can I, or are they gonna tell me when I simply ask? For usernames and passwords, 'crypt' should be sufficient. perldoc -f crypt Also, please note that there really is no reason to be able to decrypt passwords. --

Re: change list to numeric

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 02:56 , Johnson, Shaunn wrote: > open COUNTFILE, ">$mbr_count"; > print COUNTFILE "Count of member in test table\n\n"; > print COUNTFILE "Please review\n\n"; > ***PROBLEM AREA*** > if ( ($memcount < 150 )=$sth->fetchrow) { > print COUNTFILE

Re: Crypt:: or ???

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 02:54 , Teresa Raymond wrote: > Which module is the easiest to learn and offers the best > encryption/decryption? There were so many that I did not feel capable of > choosing one at CPAN. Encryption/decryption for username and passwords MD5 is the general standar

Re: change list to numeric

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 21:56:58 GMT, Shaunn Johnson wrote: > So, this is what I'm doing: I connect to the > database, get a count of records and bring > back that number. At least it looks good on > paper ... but now I need to evaluate it as > a number and not as a list item (if I'm making > any

Re: Crypt:: or ???

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 21:54:09 GMT, Teresa Raymond wrote: > Which module is the easiest to learn and offers the best > encryption/decryption? There were so many that I did not feel > capable of choosing one at CPAN. Encryption/decryption for username > and passwords For usernames and password

Re: analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 21:10:29 GMT, Drieux wrote: > so, on average, half the user's are not nice enough to > even offer up a 'why thank you'. I wouldn't say that. A lot of thank you's are sent by private communication (at least that's my experience). Unfortunately, many times these thank you

Re: Reading in...

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 11:21 , Lovett, Clay wrote: > I am having some difficulty with the following: > > I need to read a filename from a directory and assign the path to a > variable > $new so I can issue an open command; > > I also need to loop this and perform encrypt with pgp and the f

change list to numeric

2002-05-24 Thread Johnson, Shaunn
Howdy: I know this is WAY out in left field, but I am trying to figure out how I can bring back a numerical value and evaluate it so I can do something else. So, this is what I'm doing: I connect to the database, get a count of records and bring back that number. At least it looks good on pap

Crypt:: or ???

2002-05-24 Thread Teresa Raymond
Which module is the easiest to learn and offers the best encryption/decryption? There were so many that I did not feel capable of choosing one at CPAN. Encryption/decryption for username and passwords -- --- - Teresa Raymond - - Mariposa Net

Re: Simple question

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 08:23 , Leon, Yanet I,,DMDCWEST wrote: [..] > s/^\#(shell\s.*tcp\s.*\sin.rshd)$/$1/; > > I want to call the above script from another longer one to just perform > the > replacement passing a file name as the argument. The lines on the calling > file should look as f

Re: Error with perl compilation using gcc insted of cc

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 11:49 , Luis Valencia wrote: > Hi, i try to install a squid log analyser call SquidGraph but when i try > to do the 'make' it receive the following output: > > proxyserver /downloads/GD-1.33 > sudo make > cc -c -I/usr/local/include -I/usr/local/include/gd -xO3 -xdep

analysis and enhancement was Re: Lies, damn lies and statistics

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 11:50 , Felix Geerinckx wrote: > Yearly posting statistics for perl.beginners - 2001. [..] > There were 4374 (26%) original articles, and 12269 (74%) replies > (articles that started with 'RE:' in their subject line). > > 926 (42%) authors posted only one article. [..

Re: Need help in Regular Expression

2002-05-24 Thread John W. Krahn
Drieux wrote: > > On Friday, May 24, 2002, at 08:13 , Ankit Gupta wrote: > > > I am working on a project in which I need to get Date part of > > below written header. I am trying to use Regular expression to extract > > Date: > > line. I am able to achieve everything after the Date: wo

RE: explanation of tr///cds terms?

2002-05-24 Thread Beau E. Cox
Mark - I have ActivePerl on Win2K and 'perldoc' works fine. ActiveState should have put its 'bin' sub-directory in your path; 'perldoc.bat' is there. Aloha => Beau. -Original Message- From: mark [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 4:30 AM To: [EMAIL PROTECTED] Subject

RE: Gettting Drives on Windows

2002-05-24 Thread Beau E. Cox
Hi Shishir - It was me, it's at . But as has been pointed out, CPAN has several better alternatives. Aloha => Beau. -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 4:08 AM To: be

Re: something strange

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 18:38:18 GMT, Lance Prais wrote: > If I run the script from the CMD prompt, there are no errors and it > works fine. The issue is if I try to run, it from the windows > scheduler it fails. The reason I am thinking it may be related to my > script is that I have other scripts t

RE: Lies, damn lies and statistics

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 18:56:21 GMT, Nikola Janceski wrote: > I don't think you should be counting the lines with a > in front > either. You're right of course, but a) I'm not downloading the article bodies, I rely on the linecount returned by the nntp xover call instead, and b) This mailing lis

RE: something strange

2002-05-24 Thread Lance Prais
-Original Message- From: Lance Prais [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:38 PM To: Perl Subject: something strange I am not sure if this is the right place to ask this but I was hoping someone hashad a similer problem. Here is my issue, I am running perl on NT and h

RE: Need help in Regular Expression

2002-05-24 Thread David Gray
> > ... > > Date: Thu, 23 May 2002 19:47:50 +0530 > > ... > > $header = $1 if /^Date: (.*)/; > This should do what you want. Two things: 1) should anchor this regex to the end of the line to make sure you get the entire line in $1 2) should use the //m switch to treat your string as multiple

Re: binmoding as Re: Perl Question

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 11:18 , Michael Fowler wrote: > On Thu, May 23, 2002 at 05:07:38PM -0700, drieux wrote: >> On Thursday, May 23, 2002, at 04:57 , Michael Fowler wrote: >>>perl -O777pi~ -e's^/usr/local^/tmp/local^g' mybinaryfile.out >> >> that's what I was afeared of... had that co

RE: Lies, damn lies and statistics

2002-05-24 Thread Nikola Janceski
I don't think you should be counting the lines with a > in front either. > -Original Message- > From: Felix Geerinckx [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 2:50 PM > To: [EMAIL PROTECTED] > Subject: Lies, damn lies and statistics > > > Yearly posting statistics for per

Lies, damn lies and statistics

2002-05-24 Thread Felix Geerinckx
Yearly posting statistics for perl.beginners - 2001. >From 2001-01-01 to 2001-12-31 there were 16643 articles posted (705907 lines) by 2200 authors, giving an average 7.57 articles per author, and an average article length of 42 lpa. The average number of articles per day was 46. There were 4374

Error with perl compilation using gcc insted of cc

2002-05-24 Thread Luis Valencia
Hi, i try to install a squid log analyser call SquidGraph but when i try to do the 'make' it receive the following output: proxyserver /downloads/GD-1.33 > sudo make cc -c -I/usr/local/include -I/usr/local/include/gd -xO3 -xdepend -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC -I/usr/perl5/

something strange

2002-05-24 Thread Lance Prais
I am not sure if this is the right place to ask this but I was hoping someone hashad a similer problem. Here is my issue, I am running perl on NT and have written a very simple script to read a log file and parse through to find words. If I run the script from the CMD prompt, there are no errors

Re: Net::Telnet question

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 08:12 , Naser Ali wrote: > Hello everyone, > > I have gotten this program from the Net::Telnet readme file, but it does > not > work. When I run it it output a message which I don't understand. How can > I > give it userid and passwd for the telnet session..? > > ==

Re: Simple question

2002-05-24 Thread José Nyimi
perldoc -f system or perldoc -f exec or use of backtick stuff $script_result=`//bin/perl script.pl arg1 arg2 `; HTH, José. "Leon, Yanet I,,DMDCWEST" <[EMAIL PROTECTED]> a écrit : How do I invoke a perl program from within another perl program? I don't need to use a module or create one fo

Reading in...

2002-05-24 Thread Lovett, Clay
Hi There! I am having some difficulty with the following: I need to read a filename from a directory and assign the path to a variable $new so I can issue an open command; I also need to loop this and perform encrypt with pgp and the ftp the file elsewhere. I, for the life of me, cannot figure

Re: explanation of tr///cds terms?

2002-05-24 Thread Elias Assmann
Let me see if I can help here, maybe a peer-discussion (from chimpanzee to chimpanzee so to say ;-) will work better than inter-species communication with homo sapiens. On Fri, 24 May 2002, mark wrote: > " 'perldoc' is not recognised as an internal or external command, operable > program or bat

Re: Need help in Regular Expression

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 08:13 , Ankit Gupta wrote: > Hello, > > I am working on a project in which I need to get Date part of > below written header. I am trying to use Regular expression to extract > Date: > line. I am able to achieve everything after the Date: word but not only

Re: Net::Telnet question

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 15:12:18 GMT, Naser Ali wrote: > I have gotten this program from the Net::Telnet readme file, but it > does not work. When I run it it output a message which I don't > understand. How can I give it userid and passwd for the telnet > session..? > > [...] > $t = new Net::Telne

Re: reading and parsing from STDIN

2002-05-24 Thread Bill Akins
Sorry if this is double posted... How about something like this? NOT TESTED! Also assuming your input will be the same as quoted but without leading //'s while($line = ) { chomp($line); if ($line =~ /email /i) { $line =~ s/^\s+//g; #Strip any leading white spac

Re: Need help in Regular Expression

2002-05-24 Thread Janek Schleicher
Ankit Gupta wrote at Fri, 24 May 2002 17:13:52 +0200: > Hello, > > I am working on a project in which I need to get Date part of > below written header. I am trying to use Regular expression to extract Date: line. I >am able to > achieve everything after the Date: word but not only th

RE: Need help in Regular Expression

2002-05-24 Thread Wagner-David
Here is a shot: # # Loading header with the data provided # my $header = <<'HEADER'; To: "Ankit Gupta" <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <001c01c200e0$9a1d9720$7d82c8cb@ashokgup> <[EMAIL PROTECTED]> Subject: Re: Date: Thu, 23 May 2002 19:47:50 +0530 MIME-Version: 1.0 Con

RE: Need help in Regular Expression

2002-05-24 Thread Ian Samuel
Title: RE: Need help in Regular Expression Ankit: $header = $1 if /^Date: (.*)/; This should do what you want. Regards, Ian Samuel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 10:14 AM To: [EMAIL PROTECTED] Subject: Need help

Re: subsrting question

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 07:44 , Lance Prais wrote: > One more question, how can I make it that it is not case sensitive when > find > something out of a text doc? [..] > next unless(/$target/); next unless(/$target/i); perldoc perlre your f

Re: not using \n as delimiter with while loop

2002-05-24 Thread drieux
On Friday, May 24, 2002, at 07:44 , William West wrote: > goodmorning (or evening, or what have you) I'll have mine neat, in a clean class, thank you. I believe you want $/ cf perldoc perlvar " $INPUT_RECORD_SEPARATOR $RS $/ The input record separator, newline b

RE: Gettting Drives on Windows

2002-05-24 Thread Timothy Johnson
No, Win32::Lanman will not return mapped drives, and yes, Win32::Lanman and Win32::NetAdmin should return similar results on the surface, but if I'm not mistaken, Win32::Lanman returns an array of hash references with information about the drives as well, which should let you distinguish between

RE: Problems with programming a forum

2002-05-24 Thread Nikola Janceski
for you locking prob... use flock() > -Original Message- > From: Sebastian Nerz [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 11:20 AM > To: [EMAIL PROTECTED] > Subject: Problems with programming a forum > > > Hy, > > I actually want to write a little forum-script for my home

Simple question

2002-05-24 Thread Leon, Yanet I,,DMDCWEST
How do I invoke a perl program from within another perl program? I don't need to use a module or create one for this purpose. I have a simple script which performs a replacement: substitute.pl #!/pkg/public/bin/perl -pi.bak This edits a file and creates a backup of the edited. This is why I w

Re: deleting lines from a text file using index from another file

2002-05-24 Thread drieux
On Thursday, May 23, 2002, at 10:56 , Leila Lappin wrote: > Hi all, > > I guess no answer to this question means that I'm on the wrong track > trying > to use Perl to work out this problem. May be I'll use C or something > else. > > thanks I do hope not to sound too harsh, but have you thoug

Problems with programming a forum

2002-05-24 Thread Sebastian Nerz
Hy, I actually want to write a little forum-script for my homepage, but I have several problems: 1. I need to lock a file while the script is writing to it. I actually am doing this by creating a link to this file named "(filename).lock) When the script has finished writing data to it, it unlink

Need help in Regular Expression

2002-05-24 Thread Ankit Gupta
Hello, I am working on a project in which I need to get Date part of below written header. I am trying to use Regular expression to extract Date: line. I am able to achieve everything after the Date: word but not only that line. I mean to say that I need only this string Thu, 23 May 200

Net::Telnet question

2002-05-24 Thread Naser Ali
Hello everyone, I have gotten this program from the Net::Telnet readme file, but it does not work. When I run it it output a message which I don't understand. How can I give it userid and passwd for the telnet session..? ===Program segment= #!/usr/bin/perl use Net::T

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

2002-05-24 Thread Randal L. Schwartz
> "Jonathan" == Jonathan e paton <[EMAIL PROTECTED]> writes: Jonathan> You shouldn't give a message at all, silence is golden. The Jonathan> mailserver has to indicate error status, I suppose you could Jonathan> try getting the .forward script to barf on spam - perhaps Jonathan> returning so

RE: subsrting question

2002-05-24 Thread Lance Prais
One more question, how can I make it that it is not case sensitive when find something out of a text doc? Thanks Lance -Original Message- From: drieux [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 4:58 PM To: Lance Prais Cc: begin begin Subject: Re: subsrting question On Thur

RE: Gettting Drives on Windows

2002-05-24 Thread Arul, Rex
Timothy and Shishir, I am not quite sanguine on whether Win32::Lanman returns all the drives (including mapped-drives). I am sure its Win32::Lanman::NetServerDiskEnum("servername", \@disks) function returns the same output as Win32::NetAdmin. BTW, I guess Win32::NetAdmin comes with default flavor

not using \n as delimiter with while loop

2002-05-24 Thread William West
goodmorning (or evening, or what have you) ok. here's my snippet of code: sub get_list{ my($inputfilehandal)=@_; open (IN,"$inputfilehandal"); while(){ #if i could seperate each instance of IN with #something other than /n push(@firstarray,$_);} close (IN); }

RE: Gettting Drives on Windows

2002-05-24 Thread Shishir K. Singh
This prooves that I am getting lazier day by day:)!! -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 10:39 AM To: Shishir K. Singh; 'Arul, Rex ' Cc: '[EMAIL PROTECTED] ' Subject: RE: Gettting Drives on Windows You can get it from Dave Rot

RE: command-line commands within a Perl script

2002-05-24 Thread Torres, Jose
Here's the code I currently have to do this: $startDir = $ARGV[0]; ## Main Program ## $dir = (); opendir (DIR, $startDir); foreach $dir (readdir(DIR)) { if(($dir ne ".") && ($dir ne "..")){ CreateChecksum($dir); } } closedir DIR; sub CreateChecksum { my($

RE: Gettting Drives on Windows

2002-05-24 Thread Timothy Johnson
You can get it from Dave Roth's PPM Repository. He has some other useful modules there as well. PPM> set repository dave http://www.roth.net/perl/packages PPM> set save PPM> install win32-adminmisc -Original Message- From: Shishir K. Singh To: Arul, Rex Cc: [EMAIL PROTECTED] Sent: 5/2

RE: Gettting Drives on Windows

2002-05-24 Thread Bob Showalter
> -Original Message- > From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 7:08 AM > To: begin begin > Subject: Gettting Drives on Windows > > > Hi, > > Sometime back, someone had posted the module to get the > drives on Windows system on my request. Think i

RE: Gettting Drives on Windows

2002-05-24 Thread Timothy Johnson
Win32::Lanman has this functionanlity as well. -Original Message- From: Arul, Rex To: Shishir K. Singh Cc: [EMAIL PROTECTED] Sent: 5/24/02 7:22 AM Subject: RE: Gettting Drives on Windows If it is fixed drives, you can use the Win32::NetAdmin module: C:\Perl\rex>perl -MWin32::NetAdmin

RE: Gettting Drives on Windows

2002-05-24 Thread Shishir K. Singh
Thanks Arul..for the timebeing this works fine . However, I would like to explore the module that you mentioned "Win32::AdminMisc". Didn't find it on CPAN. Do you have any idea of it's location. -Original Message- From: Arul, Rex [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1

Re: explanation of tr///cds terms?

2002-05-24 Thread mark
> I don't use Windows but if you open a DOS/console window and type those > commands at the prompt they should display the relevant documents. > > C:\>perldoc perlop > C:\>perldoc perlre I used the command prompt, which is the only thing resembling a DOS prompt on win2k and got this: " 'perldoc'

RE: Gettting Drives on Windows

2002-05-24 Thread Arul, Rex
If it is fixed drives, you can use the Win32::NetAdmin module: C:\Perl\rex>perl -MWin32::NetAdmin -e "Win32::NetAdmin::GetServerDisks('', \@arr); print qq[Fixed Drives in this Machine are: \n];for(@arr){ print qq[$_\n];}" Fixed Drives in this Machine are: A: C: D: Please note that this module d

RE: Getting through a deep hash

2002-05-24 Thread Bob Showalter
> -Original Message- > From: Barry Jones [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 6:32 AM > To: Beginners @ Perl (E-mail) > Subject: Getting through a deep hash > > > I'm having trouble with this set of code. I'm trying to > navigate my way > through a VERY deep hash (ak

Re: Getting through a deep hash

2002-05-24 Thread Michael Lamertz
On Fri, May 24, 2002 at 09:32:26AM -0400, Barry Jones wrote: > > my $results = $test->{testing_results}{testing_result}; > if(ref($results) eq 'ARRAY') { > for my $spot (@$results) { > for my $key (keys %$spot) { > if (ref($spot->{$key}) eq 'HASH') {

RE: Gettting Drives on Windows

2002-05-24 Thread Nikola Janceski
As the song goes.. "It wazn't me." > -Original Message- > From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 10:08 AM > To: begin begin > Subject: Gettting Drives on Windows > > > Hi, > > Sometime back, someone had posted the module to get the > drives on

Gettting Drives on Windows

2002-05-24 Thread Shishir K. Singh
Hi, Sometime back, someone had posted the module to get the drives on Windows system on my request. Think it was either Nikola Janceski or Beau Cox. Could you pls resend the zipped file or the link to it. Appreciate it!! Thanks Shishir -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Getting through a deep hash

2002-05-24 Thread Barry Jones
I'm having trouble with this set of code. I'm trying to navigate my way through a VERY deep hash (aka hash with references to hash with references to arrays with references to hashes, which may not contain any values cause that's the way it was written before I got here). Anyway, this is not supp

reading and parsing from STDIN

2002-05-24 Thread lz
Hi guys, I am reading an email coming to my perl script. I need to parse incoming document and select a specific field I need. WHILE() { // how do I search for a field, called e.g. // email [EMAIL PROTECTED] // and assign email to a variable? } Thanks a lot! ___

Re: deleting lines from a text file using index from another file

2002-05-24 Thread Leila Lappin
Hi Sudarsan, Thank you very much for the help. Leila - Original Message - From: "Sudarsan Raghavan" <[EMAIL PROTECTED]> To: "Leila Lappin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, May 24, 2002 12:34 AM Subject: Re: deleting lines from a text file using index from another fi

How to install Math::LP::Solve

2002-05-24 Thread Janek Schleicher
Hello! I'd like to use the Math::LP::Solve module. I downloaded the module from the CPAN and tried to install it. However there's an error which I don't understand. Who can help me ? perl Makefile.PL downloaded automatic the needed lp_solve_3.2 c++ source coude. I compiled it with make and i fol

SUMMARY: Whats the best way to convert a nested hash to SQL ?

2002-05-24 Thread scotrn
I used the following. May not be pretty but it seems to wrk. sub get_kstats { ### # Desctiption: Collects stats from Solaris::Kstat # Arguments: NONE # RETURNS: @KSTAT_DATA

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

2002-05-24 Thread Jonathan E. Paton
> 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 s

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

Whats the best way to convert a nested hash to SQL ?

2002-05-24 Thread Scot Needy
Hi again all; Man this list is busy OK I am back to Solaris::Kstat Kstat is a Nested hash which can be displayed something like this foreach my $m (sort(keys(%$ks))) { foreach my $i (sort(keys(%{$ks->{$m}}))) { foreach my $n (sort(keys(%{$ks->{$m}->{$i}}))) {

RE: win32 mail

2002-05-24 Thread Anders Holm
Arran4 added to "killfile" due to .sig _and_ requesting a read reciept for _every_ mail sent. Get real buddy Your getting annoying for a lot of people at this stage. Your .sig is MORE than half that mail! It's not _that_ funny, it's just a bleeding .sig! And I don't see _why_ you'd like to ge

building stand-alone apps

2002-05-24 Thread Postman Pat
Greetings, I am looking for a freeware perl2exe type of tool for Windows. Any ideas if such exists & where I can get it? Regards LK -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: deleting lines from a text file using index from another file

2002-05-24 Thread Sudarsan Raghavan
Sudarsan Raghavan wrote: > > > > > > > > I need to do something, but being new to Perl I'm not sure it's possible > > or how to do it. I need to remove lines of information from a text file > > based on information in another file. The first file contains information > > about some business tran

Re: deleting lines from a text file using index from another file

2002-05-24 Thread Sudarsan Raghavan
> > > > > I need to do something, but being new to Perl I'm not sure it's possible > or how to do it. I need to remove lines of information from a text file > based on information in another file. The first file contains information > about some business transactions, each line describing one tra