Filesys::SmbClientParser Issue

2010-12-30 Thread Anand Parthiban
rking with Double Quotes ) $rv =$smb->put($file); How Can i get rid of this issue Please anyone resolve my issue thanks in advance -- *Anand | Tools and Automation | Appnomic systems | 9591998198*

IO::Socket operations

2010-09-28 Thread Anand Parthiban
>accept(); while(<$new_sock>) { print $_; } close($sock); ### -- *Anand *

Re: script to connect windows box from linux

2010-09-03 Thread Anand Parthiban
://downloads.sourceforge.net/project/winexe/winexe-0.91.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fwinexe%2F&ts=1283487923&use_mirror=biznetnetworks Please Revert back for any clarifications Regards Anand On Thu, Sep 2, 2010 at 7:09 PM, Irfan Sayed wrote: > Hi All, > > I need to writ

How do I replace a part of huge text file

2007-10-22 Thread anand . shankar
Hi, I would like to replace a part of a really big (4GB) text file. And the contents that I want to change is really a small but continuous portion. Could some one please help me with the best way I can do this in perl? Thanks, -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: Set time period for a statement to execute

2007-06-20 Thread anand kumar
Thank You It worked fine -Anand "Mumia W." <[EMAIL PROTECTED]> wrote: On 06/20/2007 02:07 AM, anand kumar wrote: > Please guide me with some code or documentation for the following problem :- > > I need to set some specific time for a command to execute. [...]

Set time period for a statement to execute

2007-06-20 Thread anand kumar
process of opening the file and display an error message. Thanks in advance for the help -Anand - Here’s a new way to find what you're looking for - Yahoo! Answers

Regading 'perlipc'

2007-06-14 Thread anand kumar
predefined code for cleanup) and then actually exit the code execution. Thanks in advance for the help. regards Anand - Here’s a new way to find what you're looking for - Yahoo! Answers

Connecting to Oracle

2006-08-22 Thread anand kumar
the DBD::Oracle module from cpan.org but i could not install the module because the oracle drivers are accessible to Perl on the Linux server. In this regard please suggest any solution or any documentation Regards Anand Kumar

Re: doubt in quote-like operators

2006-08-07 Thread anand kumar
Hi, Thanks alot for the detailed explanation. Regards Anand Kumar Prabu <[EMAIL PROTECTED]> wrote: anand kumar wrote: > hi all, > > I could not understand clearly the functions > qw(),qq(),qr(),qx(),q(),quotemeta(). I > have read the explanation for these

doubt in quote-like operators

2006-08-06 Thread anand kumar
these functions. Thanks in advance for the help Regards Anand Kumar - Here’s a new way to find what you're looking for - Yahoo! Answers

one small question

2006-07-26 Thread anand kumar
Hi all, Can any one say a command or procedure to find out on which OS/Platform does our current perl script is running. Thanks in advance for the help Reards Anand Kumar - Here’s a new way to find what you&#x

Re: Learning Perl

2006-04-11 Thread anand kumar
HI Try this #!/bin/perl use strict; use diagnostics; print "\t Enter Month of a year \n"; my $month = (); chomp($month); my %days_month = ( January => 31, February => 28, March => 31 ); print "\t Number of Days in month of $month is $days_month{$month

Re: Combine similar patterns

2006-03-29 Thread anand kumar
Hi   Please find the attached input.dat and output.dat   Thanks in advance for the help   Regards AnandXavier Noria <[EMAIL PROTECTED]> wrote: On Mar 29, 2006, at 12:32, anand kumar wrote:> Please find the file as an attachment with this mailWell, that didn't look like a sim

Re: Combine similar patterns

2006-03-29 Thread anand kumar
Hi Please find the attached input.dat and output.dat Thanks in advance for the help Regards Anand Xavier Noria <[EMAIL PROTECTED]> wrote: On Mar 29, 2006, at 12:32, anand kumar wrote: > Please find the file as an attachment with this mail Well, that didn'

Re: [SPAM DETECT] Re: Combine similar patterns

2006-03-29 Thread anand kumar
Hi   Please find the file as an attachment with this mail   Regards AnandXavier Noria <[EMAIL PROTECTED]> wrote: On Mar 29, 2006, at 12:01, anand kumar wrote:> Yes, of course the code u have sent is very helpful and thanks for > that. But the problem here is that in a single fi

Re: Combine similar patterns

2006-03-29 Thread anand kumar
ones. Please help in this matter Thanks in advance for the help Regards Anand Xavier Noria <[EMAIL PROTECTED]> wrote: On Mar 29, 2006, at 10:28, anand kumar wrote: > Sorry for not posting the question clearly, Please find the > attachment of the sample file. The matter

Re: Combine similar patterns

2006-03-29 Thread anand kumar
Hi all   Sorry for not posting the question clearly, Please find the attachment of the sample file. The matter enclosed in …., …..….…… are all the foot notes that are spanning on various pages, now what I am trying to do is that to combine all the related footnotes that are spanned in various pag

Combine similar patterns

2006-03-28 Thread anand kumar
Thanks in advance for the help Regards Anand - Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

Re: hash array

2006-02-15 Thread anand kumar
Hi all Thanks alot that works fine. Regards anand Jeff Pang <[EMAIL PROTECTED]> wrote: hello,I wrote it as below simply,maybe it's not so good,you could modify it. use strict; use warnings; my %hash; while(<>) { next if /^$/; if (/Name\s+(.*)$/) { my $name = $1

Re: hash array

2006-02-15 Thread anand kumar
Hi , Thanks for the reply. but can u help me out if the data is large and need a loop to store(also if possible give instructions if the record has variable or optional number of fields). Jeff Pang <[EMAIL PROTECTED]> wrote: Name ABC AGE 25 Book perl Name DEF AGE 20 Book linux Name GHI

hash array

2006-02-15 Thread anand kumar
data is already present in a file or it is being accepted from user using a program in the above format) can anyone help me on how to store the data with hash key as the 'Name' and the hash strings as the details of 'AGE' and 'Book' Thanks in advance for

Re: regex problem

2006-02-15 Thread anand kumar
"John W. Krahn" <[EMAIL PROTECTED]> wrote:anand kumar wrote: > Hi all, Hello, > I have the following problem in the following regex replace. > > $line=~s!\b($name)\b!$1!g; > > here this regex finds the exact matching of the content in $name and does >

regex problem

2006-02-14 Thread anand kumar
sary. if i use both \b\b and \Q\E then the code fails to replace. please send suggestions in this regard Thanks in advance for the help Regards Anand - Jiyo cricket on Yahoo! India cricket Yahoo! Mess

Duplicates elements in an array

2006-02-05 Thread anand kumar
Hi all I have an array with hundreads of elements in it. Can anyone suggest the easiest way to keep only the duplicate elements in the array. Thanks in Advance for the help Regards Anand - Jiyo

RE: Reading contents of file

2006-01-09 Thread anand kumar
ok,"\n"; $t_book=$book; $t_book=~s/\.//g; $t_book=~s/\\l=([a-z]+)\\/$1/ig; $t_book=~s/<(|\/)(B|I|SC|U)>//ig; $quote=bibref($t_book); if($quote) { print OUT "$book"; } else { print OUT $book," "; } $line=~s/$book//; } close(IN); Input: Genesis

RE: Reading contents of file

2006-01-08 Thread anand kumar
ard Dhanashri Bhate <[EMAIL PROTECTED]> wrote: Hi Anand, You know where its going wrong then change it :) Ok, I haven't gone into the regex etc. but I see these 2 major problems: 1. $line=; should be also there inside the while loop, to make the program get the next line in the file, a

Reading contents of file

2006-01-08 Thread anand kumar
e=bibref($t_book); if($quote) { $line=~s/($book)/$1/ig; } } print OUT $line; close(IN); Thanks in advance for the help. Regards Anand Send instant messages to your online friends http://in.messenger.yahoo.com

syntax of a perl program?

2005-12-20 Thread anand kumar
Hi all Can anyone let me know some functions or some tutorial on how to check the syntax of a perl program. Thanks in advance Anand Send instant messages to your online friends http://in.messenger.yahoo.com

manipulating each string in a file

2005-12-13 Thread anand kumar
ing are i donot know how to read the previous string in specific cases and also rewritng the contents inthe same file or any new file please send me your suggestions. Thanks in advance Anand - Yahoo! India Matrimony: Find your partner now.

Doubt

2005-12-11 Thread anand kumar
Hi I am new to perl .i have a doubt in analysing the following regex. (my $book = $ref_string) =~ s/\s*(\d+(?::\d+(?:-\d+(?::\d+)?)?)?)\Z//; here i want to know the meaning of '?:' thanks in advance Anand --

Doubt

2005-12-11 Thread anand kumar
Hi I am new to perl .i have a doubt in analysing the following regex. (my $book = $ref_string) =~ s/\s*(\d+(?::\d+(?:-\d+(?::\d+)?)?)?)\Z//; here i want to know the meaning of '?:' thanks in advance Anand --

Out of Topic :-Any perl training institutes in Bangalore

2004-08-09 Thread Anand . V
have for automation, i am enquiring about this. Thanks in Advance Regards Anand

doubt in Definition of sub routine.

2004-08-05 Thread Anand . V
reason why we should use braces ?? 3. sub trim($) { " }Any specific reason why we should use a brace with a $ sign in it ?? Could some one specify reason when to use braces and when not to use . Replies are highly appreciated and thanks in advance for your help. Regards Anand

RE: How do it do find and replace specific words using perl

2004-07-23 Thread Anand . V
;~'; s/$searchstr/$repstr/g while ; close(FL); Would appreciate if you could help me. Thanks & Regards, Anand -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 6:18 PM To: [EMAIL PROTECTED] Subject: Re: How do it do find and re

How do it do find and replace specific words using perl

2004-07-23 Thread Anand . V
PROPERTY.STRING.Src_Client_Version=1.0 PROPERTY.STRING.Src_Client_Type=TestHarness specific.Directory=/home/anand/Demo/ADK/temp/sendToAdapter specific.RequestTimeOut=5 specific.DataFile=/home/anand/Demo/ADK/temp/sendToAdapter/someFileToSend.dat 2. Replace

RE: Antwort: FTPing of files between remote servers.

2004-07-20 Thread Anand . V
Hi Manfred Beilfuss, Thanks for the reply. Could you elaborate on running your perl-script or any other ftp-script remote script . Thanks & Best Regards, Anand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 7:08 PM To: [E

FTPing of files between remote servers.

2004-07-20 Thread Anand . V
essage; $ftp->get("archive.dat","$ejsTargetRoot/$ejsVersion/ejs/archive.dat") or die "get failed for archive", $ftp->message; $ftp->quit; } Could some suggest how can i transfer a file from one remote host to another remote host using FTP module. Is there any way of doing this . Please guide me Regards Anand

Re: Net::Telnet with username, no password - can't get past "password" prompt

2003-07-29 Thread Anand
Even I tried using login once but timed out for reasons unknown, despite the fact that mine has a valid password tooand then replaced it with print/waitfor combination...now it works fineany reason why login fails?? - Original Message - From: <[EMAIL PROTECTED]> To: "K Old" <[EMAIL

Problem with making the Perl Module Date::Calc

2003-06-20 Thread Anand Babu
;Bit::Vector" at any time later if you change your mind. I do not plan to use the Calender & Year Modules. Hence no need to install the Bit::Vector module. Regards Anand - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Problem with making the Perl Module Date::Calc

2003-06-20 Thread Anand Babu
for Date::Calc Writing patchlevel.h for c:\Perl\bin\perl.exe (5.006001) I then tried to do a make of the Makefile. Here is what I get: $ make Makefile:814: *** missing separator. Stop. --- The make stops with the above message. I shall appreciate if you can help me at the earliest.

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Anand Babu
of the input: 127.0.0.1 - - [15/Jun/2003:13:54:02 -0100] "GET / HTTP/1.1" 200 34906 127.0.0.1 - - [15/Jun/2003:13:54:02 -0100] "GET / HTTP/1.1" 200 34906 -- TIA Anand Ramprasad <[EMAIL PROTECTED]> wrote: Anand Babu wrote: > Hi all, > >

RE: Parsing the Apache web log file, access_log

2003-06-18 Thread Anand Ayyagary
. I am able to count the number of multiple timestamps alright. I am having problem with the time interval and that's where I need help. May be the algorithm I followed needs to be modified. Pl. have a look at the script and make any constructive suggestions. Thanks Anand - The s

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Anand Babu
h the time interval and that's where I need help. May be the algorithm I followed needs to be modified. Pl. have a look at the script and make any constructive suggestions! Thanks Anand - The script: #!/usr/bin/perl use Getopt::Long; use Time::L

Sorry for the duplicate posting! Pl. ignore post #48415

2003-06-17 Thread Anand Babu
Hi all, Sorry for the duplicate posting. Pl. ignore post #48415. Regards Anand - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Parsing the Apache web log file, access_log

2003-06-17 Thread Anand Ayyagary
02 5.5 4 7 I shall appreciate an early response. Thanks in advance Regards Anand -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help needed regarding Parsing Apache Web log file, access_log

2003-06-17 Thread Anand Babu
9:02 6.5 310 15/Jun/2003:14:24:02 5.5 47 I shall appreciate an early response. Thanks in advance Regards Anand :-) - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Help need in GUI

2003-02-25 Thread Anand Ramakrishna
kage "MainWindow" at ./gui_test.pl line 3" I dont understand what's happening. Please help me in this regard. #!/usr/local/bin/perl my $vu_win = MainWindow->new(); $vu_win->configure(-title=>'Verify User',-background=>'blue&#x

Help need in GUI

2003-02-24 Thread Anand Ramakrishna
have a software background, so I dont have any idea of how and where to start. Somebody please give me some suggestions regarding this. Anbudan, Anand~   --- Yesterday is a cancelled check. Tomorrow is a promisory note

Newbie question in Perl

2002-12-30 Thread Anand Ramakrishna
in this file. else { open (FILE1, ">newfile.txt"); $line1 = ; while ($line1 ne "") { print FILE1 $line1; $line1 =

perl equivalent

2002-04-02 Thread Anand, Pankaj
Hi , I need a small help . I have one script with these commands.But I think perl can do it efficiently. What will be the perl equivalent for this - grep UNBIND $file|tr "=" " "|awk '{print $4}' > /tmp/con for i in `cat /tmp/con` do ip=`grep $i $file |grep from |awk '{print $8}'` op=`grep $i $fil

Perlcc options changed

2002-03-05 Thread Anand Apurv-AANAND1
Hi, On Solaris the perlcc options has the -gen -sav options to save the generated C code, etc. However, on HP-UX, these options do not exist. Also, while compiling my script on HP, compilation fails with the error - ld: Unsatisfied symbols: boot_File__Glob (code) Any ideas ? Has the perlcc nam

FW: Help reqd. for collecting data

2002-02-05 Thread Anand, Pankaj
only in that file - 01/12 Data1 Data2 Data3 01/13 Data1 Data2 Data3 ... 01/18 Data1 Data2 Data3 Thanx > -Original Message- > From: Anand, Pankaj [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 23, 2002 11:57 AM > To: 'Beginners (E-mail) > Sub

change the format of file.

2002-01-30 Thread Anand, Pankaj
Hi , I want to make a perl script which can take the input from a file which is in this form - name1 name2 I want to change it to this format - definition1 name1 definition2 definition3 definition4:name1 definition1 name2 definition2 definition3 definition4:name1 and so

Help needed

2001-12-17 Thread Anand, Pankaj
Hi All , I am beginer to perl can anybody help me ..? I am having the output of some data in a file in the form as - currentconnections=326 totalconnections=37396 dtablesize=1024 readwaiters=322 opsinitiated=144666 opscompleted=144665 entriessent=1355694 bytessent=1547759193 currentconnections=3

Help reqd.

2001-12-14 Thread Anand, Pankaj
> I have to make a script which will read a log file and find for error , > the string is like "err=0" if the no. is > 0 then I want the first coloumn > of line that's time stamp redirected to some other file or I can define > some RE that if err=2 , do this. > > Secondly the log file is rotaion

Re: Installing packages on Win2K

2001-08-24 Thread Anand
. This is the main reason why I am looking for a module that would snoop and gather the statistics for me. Thanks for your help. Anand "Troy Denkinger" <[EMAIL PROTECTED]> wrote in message 01082413301205.24910@troylinux">news:01082413301205.24910@troylinux... > On Friday

Re: Testing a UDP service

2001-08-24 Thread Anand
Hi, I am also looking for a similar module that will allow me to monitor a TCP port. If you know any module that can perform the function, could you please let me know? Thanks in advance, Anand "Adrienne Kotze" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"&

Re: Installing packages on Win2K

2001-08-24 Thread Anand
/destination/protocol and for unpacking the contents of IP tunnels. Something similar to a Network Monitor. Basically I want to monitor a port activity. Does anyone know about a module that can perform these functions on Win2K? Thanks, Anand "Troy Denkinger" <[EMAIL PROTECTED]>

Installing packages on Win2K

2001-08-24 Thread Anand
been using Linux and I am totally new to PERL on Windows environment. Can anyone point me to some good documentation on the web? Thanks, Anand -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]