Re: can I wipe cpan off my computer?

2009-11-07 Thread tom smith
On Sat, Nov 7, 2009 at 7:57 AM, Shawn H Corey wrote: > tom smith wrote: > > I actually read something that said not to install Bundle::CPAN. Then > > sometime later I tried to install my first module, and in the fog of > > trying everything possible to get cpan to install LPW::Simple, I saw > >

Re: Change tag case

2009-11-07 Thread Robert Citek
On Sat, Nov 7, 2009 at 4:45 AM, Ramesh, Marimuthu wrote: > I have some 3000 sgml files, where I need to change the tag case from > upper case to lower case. > > Example: Change This is an image to id="IMG1">This is an image. > > Note that the tag name and the attribute name should only change and

Re: SFTP under Windows?

2009-11-07 Thread C.DeRykus
On Nov 5, 12:50 pm, orasn...@gmail.com wrote: > From: "Parag Kalra" > Just did Googly and found this > -http://search.cpan.org/~drolsky/Net-SFTP-0.08/lib/Net/SFTP.pm > Hope it helps... > Cheers, > Parag > > Thank you. I know about it but I couldn't make it work under Windows. > Does anyone if it

Net::FTP fails when invoked from browser

2009-11-07 Thread boman
Have a simple script to FTP all files in one dir to a Solaris box. Script runs fine when invoked from command line. However, when invoked from browser (simple html form with one button that calls the .pl script), only some files get FTPd. The process seems to stall, then the browser times out. Run

Re: Net::FTP fails when invoked from browser

2009-11-07 Thread Uri Guttman
> "b" == boman writes: b> Have a simple script to FTP all files in one dir to a Solaris box. b> Script runs fine when invoked from command line. However, when invoked b> from browser (simple html form with one button that calls the .pl b> script), only some files get FTPd. The proces

Re: Trace used functions within an app

2009-11-07 Thread Jenda Krynicky
From: Dermot > I have been asked to look at/add features to an existing ModPerl app > that has thousands of lines of code spread over tens of modules. Some > are OO, some are function-oriented. There looks like there's lots of > debris and unused functions. For clarity, simplicit

Re: Script check !!!

2009-11-07 Thread Jeremiah Foster
On Nov 5, 2009, at 19:18, Shlomi Fish wrote: if ( !$filename ) { print $q->header ( ); print "There was a problem uploading your file.\n"; exit; } This is invalid HTML. It does not matter here a lot, though. Yeah, you could use: print $q->h2('There was a problem uploading your file.');

Re: can I wipe cpan off my computer?

2009-11-07 Thread Shawn H Corey
tom smith wrote: > I actually read something that said not to install Bundle::CPAN. Then > sometime later I tried to install my first module, and in the fog of > trying everything possible to get cpan to install LPW::Simple, I saw > that message instructing me to update Bundle::CPAN, and I tried t

Re: can I wipe cpan off my computer?

2009-11-07 Thread tom smith
On Sat, Nov 7, 2009 at 6:27 AM, Shawn H Corey wrote: > tom smith wrote: > > On Fri, Nov 6, 2009 at 9:34 AM, Shawn H Corey > > wrote: > > I think the OP is talking about the new modules that don't always > play > > nice. To find their locations, use -l on pe

Re: can I wipe cpan off my computer?

2009-11-07 Thread Telemachus
On Sat Nov 07 2009 @ 8:27, Shawn H Corey wrote: > The cpan program is little more than a shell for CPAN.pm. When you > first start cpan, it says to install Bundle::CPAN and a newer version of > CPAN.pm. These modules do not play nice. Last time I installed them, I > could get cpan to work at al

Re: can I wipe cpan off my computer?

2009-11-07 Thread Shawn H Corey
tom smith wrote: > On Fri, Nov 6, 2009 at 9:34 AM, Shawn H Corey > wrote: > I think the OP is talking about the new modules that don't always play > nice. To find their locations, use -l on perldoc > > perldoc -l CPAN > perldoc -l Bundle::CPAN > >

RE: Change tag case

2009-11-07 Thread Ramesh, Marimuthu
Hi Tom, I started with the one like below: #!/usr/bin/perl # include package use XML::Parser; # initialize parser $xp = new XML::Parser(); # set callback functions $xp->setHandlers(Start => \&start, End => \&end, Char => \&cdata); # keep track of which tag is currently be

Re: Change tag case

2009-11-07 Thread tom smith
On Sat, Nov 7, 2009 at 2:45 AM, Ramesh, Marimuthu wrote: > > > Hi, > > > > I have some 3000 sgml files, where I need to change the tag case from > upper case to lower case. > > > > Example: Change This is an image to id="IMG1">This is an image. > > > > Note that the tag name and the attribute nam

Change tag case

2009-11-07 Thread Ramesh, Marimuthu
Hi, I have some 3000 sgml files, where I need to change the tag case from upper case to lower case. Example: Change This is an image to This is an image. Note that the tag name and the attribute name should only change and not the values. Can anyone help please? If it is a code f