RE: Parsing .csv file

2003-06-24 Thread Rai,Dharmender
you can get modules from cpan.perl.org > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Confidential: This electronic message and all contents contain information from Syntel, Inc. whi

RE: How to retrieve a MAC address

2003-06-22 Thread Rai,Dharmender
this code would not work always as ifconfig runs in root login. > -- > From: Ashish Srivastava[SMTP:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 9:38 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: How to retrieve a MAC address > > > Try

RE: Parsing the Apache web log file, access_log

2003-06-17 Thread Rai,Dharmender
module Apache::ParseLog would help you !! > -- > From: Anand Ayyagary[SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 1:02 AM > To: '[EMAIL PROTECTED]' > Subject: Parsing the Apache web log file, access_log > > Help needed for Perl script > Hi all, > > I

RE: beginner "if statement" question

2003-06-15 Thread Rai,Dharmender
> or u can use : > > if($password =~ /^howard$/) > { > ## logic goes here > } > > -- > From: James Edward Gray II[SMTP:[EMAIL PROTECTED] > Sent: Saturday, June 14, 2003 8:58 PM > To: deborah > Cc: [EMAIL PROTECTED] > Subject: Re: beginner "if statement" questi

RE: Returning the first key in a hash...

2003-06-12 Thread Rai,Dharmender
#! /usr/bin/perl -w use strict; my %hash = ('a1', '2', '3', '4'); my @arr = %hash; print $arr[0]; Here you can get the actual sequence of keys in ur hash by printing all the even indexe elements of the array > -- > From: Sudarshan Raghavan[SMTP:[EMAIL PROTECTED] > Sent:

RE: References...

2003-06-10 Thread Rai,Dharmender
They may behave sometimes (depending on the value part of the referenced hash) but still they are different. > -- > From: Rob Anderson[SMTP:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 5:58 PM > To: [EMAIL PROTECTED] > Subject: Re: References... > > Hi Hamish, >

RE: Unix diff in perl

2003-06-05 Thread Rai,Dharmender
you can use File::Compare module to achieve that. > -- > From: Ohad Ohad[SMTP:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 2:31 PM > To: [EMAIL PROTECTED] > Subject: Unix diff in perl > > hey, > > Is there a perl function/module that will help me calculate th

RE: Unix diff in perl

2003-06-05 Thread Rai,Dharmender
use File::Compare > -- > From: Ohad Ohad[SMTP:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 2:31 PM > To: [EMAIL PROTECTED] > Subject: Unix diff in perl > > hey, > > Is there a perl function/module that will help me calculate the difference > > between two fil