Re: problem in returning the hash reference

2007-10-31 Thread mAyur
On Oct 31, 8:53 am, [EMAIL PROTECTED] (Praveena Vittal) wrote: > Hi All, > > I have writen a library for a particular function.I could not written > the hash reference fron the subroutine "process_files".Can any one > please help in this regard? > > Also i have pasted the file below > package Fil

Re: how to print dual key hash..

2007-10-27 Thread mAyur
On Oct 26, 6:07 am, [EMAIL PROTECTED] (newBee) wrote: > I have the fallowing code segment in my code. I want to print my > > foreach $document(@documents){ > $valueOfTermD = 0; > $powerOfTermD = 0; > foreach $term(keys %termWeightHash){ > if($termWeightHash{$

Re: back slash problem

2007-10-26 Thread mAyur
On Oct 4, 5:19 pm, [EMAIL PROTECTED] (Praveena Vittal) wrote: > Hi All, > > I need a way to replace a backslash(ie:\) with \\ in a string. > > Please help me... > > eg:ssh\[[\d]*\] from [\d\.]* consider the string > > Regards, > Praveena $srt =~s/\\//g; -- To unsubscribe, e-mail: [EMAIL P

Re: Absolute noobie question regarding opening files on Windows platform

2007-10-26 Thread mAyur
On Oct 23, 6:55 pm, [EMAIL PROTECTED] (Paul Lalli) wrote: > On Oct 22, 3:27 pm, [EMAIL PROTECTED] (Ayesha) wrote: > > > > > > > Hi all > > > I wrote this code to read a file (in the same directory as the script) > > on Win XP > > *