Re: Can't locate ...

2008-07-10 Thread Ganesh Babu N
Download the module to the system and install it manually. On 7/10/08, protoplasm <[EMAIL PROTECTED]> wrote: > Somehow I screwed up my `Perl` and have no idea how to get out of this > mess. I attempt to run a program and get the following: > > @naiad ~/workspace/aestTest] ./aestTest --CbcDec > Can

Fwd: Modifying a specific node

2008-09-29 Thread Ganesh Babu N
My XML file is like below: ... ... Harv L R My INI file info is like below: Harv L RHarvard Law Review MLRModern Law Review The required output is as follow: ... ... Harvard Law Review The is present in other locations also. We have to modify only titles which are c

Modifying a specific node

2008-09-30 Thread Ganesh Babu N
My XML file is like below: ... ... Harv L R My INI file info is like below: Harv L RHarvard Law Review MLRModern Law Review The required output is as follow: ... ... Harvard Law Review The is present in other locations also. We have to modify only titles which are c

Parsing Citations

2008-10-10 Thread Ganesh Babu N
Hai All, I am using Biblio-Citation-Parser for doing this task. It fairly gives the required output. 1) Is there any way we can assign the templates to be matched. I.e. out of 400 templates, I will define only 8 to 9 templates to be matched so that the matching will be accurate. 2) Is there any

Re: Can't download and install Spreadsheet::WriteExcel module on WindowsXP

2008-10-28 Thread Ganesh Babu N
Hai, Check with PPM repositories which is having this module. Add those repositories into the GUI PPM. I can install this module after adding http://theoryx5.uwinnipeg.ca/ppms repository to the PPM. Regards, Ganesh On 10/29/08, Tony Esposito <[EMAIL PROTECTED]> wrote: > When trying to install

Re: Reading Files across directories and subdirectories

2008-12-02 Thread Ganesh Babu N
Koti, You can use File::List module which does your task very easily. Regards, Ganesh On Tue, Dec 2, 2008 at 5:18 PM, Koti <[EMAIL PROTECTED]> wrote: > Hi Matt, A very Good Morning, Need a small Info for my problem. > > I have a directory named "X" which has many sub directories > "Y","Z","W" a

Test::HTTPStatus

2009-02-19 Thread Ganesh Babu N
Dear All, I am testing the weblinks for connectivity using Test::HTTPStatus module. I could able to test 187 and in those 165 links are success and 22 links are failed. When I test manually by entering the weblink in the browser out of 22, 5 weblinks are working fine. I am not sure why this modul

Re: Code is executing but not getting the desired output

2009-05-22 Thread Ganesh Babu N
Change this below line as shown: from open my $WFH, '>', $clusterservice_info to open my $WFH, '>>', $clusterservice_info As you have open the file in write mode, the file will be overwritten by each execution. Instead if you use append mode, the information will be appended to the same file. Re

adding namespace to row and column

2009-08-31 Thread Ganesh Babu N
Dear all, I am already having a XML document. In that document i want add namespace to an element. How to achieve this. Regards, Ganesh -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

watch folder concept in Perl

2009-09-07 Thread Ganesh Babu N
Dear All, Can we develop application which will watch a specific folder and when any files comes into the folder then some action takes place in Perl. Similar to an windows service. Is it possible in Perl. Regards, Ganesh -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional

Re: Simple XML to XLS format

2009-10-29 Thread Ganesh Babu N
Let me know your OS. Regards, Ganesh On Thu, Oct 29, 2009 at 5:09 PM, Anant Gupta wrote: > Hello, > I need to generate tables in an excel file, corresponding to data in an XML > file. > Can anyone provide me with a simple example using XML::Twig or XML::DOM. > I dont have access to CPAN archives

Re: Simple XML to XLS format

2009-10-30 Thread Ganesh Babu N
http://cpan.uwinnipeg.ca/par/webstart.html Regards, Ganesh On Fri, Oct 30, 2009 at 10:29 AM, Anant Gupta wrote: > Linux. Please tell me for windows as well, if it is very different from what > will be used in linux. > > Regards > Anant > On Fri, Oct 30, 2009 at 9:46 AM, Gane

Replacement in 3GB file

2010-03-15 Thread Ganesh Babu N
Dear All, I am using the following code to replace certain information in binary mode. $s=time(); open(FH, "$ARGV[0]"); open(OUT, ">$ARGV[1]"); binmode FH; binmode OUT; $/=undef; $line=; $line=~s!(\d{3}\s(\/[^\n]*? f1)\s*([^\n]+sh\s*)+?\d{3}\s)ns!$1$2!gs while($line=~/(\d{3}\s(\/[^\n]*? f1)\s*([^

Re: Replacement in 3GB file

2010-03-17 Thread Ganesh Babu N
Dear Sholmi, /EuclidSymbol is not constant. I will vary based on the font used in the file. Regards, Ganesh On Mon, Mar 15, 2010 at 6:36 PM, Shlomi Fish wrote: > Hi Ganesh! > > First a few notes on your code. > > On Monday 15 Mar 2010 14:10:25 Ganesh Babu N wrote: >>

Wide character in print at D:/Perl/lib/WWW/Mechanize.pm line 2044

2012-10-22 Thread Ganesh Babu N
Dear All, I am using WWW::Mechanize to fetch the content from the web. when I used save_content method, I am getting the above said error. In the output the character is not displaying properly. I need to encode the HTML content to UTF-8 so that the character looks correct. I have modified the Me

Variables in $Excel->Workbooks->Open

2013-05-06 Thread Ganesh Babu N
Dear All, I am having an XLSX file in server and my OS in Win7. The first open statement is working fine in which we have give the actual file name. 2nd open function is not working where we have given the file name as variable. Please help in resolving this error. use Win32::OLE; use Win32::O

Re: Variables in $Excel->Workbooks->Open

2013-05-07 Thread Ganesh Babu N
I tried your method but it showing the same error. Ganesh On Mon, May 6, 2013 at 8:58 PM, Jim Gibson wrote: > > On May 6, 2013, at 6:42 AM, Ganesh Babu N wrote: > > > > > Dear All, > > > > I am having an XLSX file in server and my OS in Win7. The first op

DBD::mysqlPP is giving out of memory exception and ODBC is working fine.

2013-05-18 Thread Ganesh Babu N
$dbh = DBI->connect("dbi:mysqlPP:$dsn;host=$host", $user, $pw, {PrintError => 1, RaiseError => 1}); if (!$dbh) { print "error: connection: $DBI::err\n$DBI::errstr\n$DBI::state\n"; } $drh = DBI->install_driver("mysqlPP"); $ary_ref = $dbh->selectcol_arrayref("SELECT pui,spuid FROM inven WHERE dis

Re: DBD::mysqlPP is giving out of memory exception and ODBC is working fine.

2013-05-19 Thread Ganesh Babu N
t, 18 May 2013 20:11:09 +0530 > Ganesh Babu N wrote: > > > $dbh = DBI->connect("dbi:mysqlPP:$dsn;host=$host", $user, $pw, > > {PrintError => 1, RaiseError => 1}); > > if (!$dbh) { > > print "error: connection: $DBI::err\n$DBI::errstr

Fwd: WWW::Scripter event handling

2013-07-18 Thread Ganesh Babu N
Dear All, I am having a link in html page which uses javascript. I need to download this PDF. PDF I have searched through and did not find any suitable example. my code is as follows: my $w = new WWW::Scripter; my $url = " http://www.ingentaconnect.com/content/asp/asl/2013/0019/0012/ar