What's wrong with this code?

2006-01-02 Thread Foo Ji-Haw
Hello all, I'm trying to learn exception handling using Error.pm (as recommended by perl.com). Trouble is, I can't seem to get it right. Below (and attached) is my source code in full: use strict; use warnings; use Error; $|=1; try { print "before throw\n"; if (1) { print "t

RE: :SSH::xPerl and SFTP driving me potty

2006-01-02 Thread Allegakoen, Justin Devanandan
Yes I did edit the code before posting it :p my $Cmd = "cd ~mickey/Tools ; ls -lrt ; grep -v minnie > hola.txt"; Should read my $Cmd = "cd ~mickey/Tools ; ls -lrt | grep -v minnie > hola.txt"; Whatever, hola.txt still gets written. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

Not::SSH::xPerl and SFTP driving me potty

2006-01-02 Thread Allegakoen, Justin Devanandan
I hope the list can help contribute a complete working solution to this so that it's documented in at least one place. I've been digging around all over the place with testimonies that Net::SSH::W32Perl with Net::SFTP works, but it's evading me. It still seems that soulcage.net is down, but Randy

RE: need Win32::AdminMisc

2006-01-02 Thread Craig A Dayton
Yes, try http://cpan.uwinnipeg.ca/   I was impressed with it and be sure to try Par::Webstart.   Randy Kobes has done a good job.   -Craig From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas, Mark - BLS CTRSent: 12/28/2005 13:08To: perl-win32-users@listser

Deleting registry trees sections...

2006-01-02 Thread Puneet Kumar
Is there a command that will allow me to delete a registry key with many nested sub-keys (and values)? I can't find any examples or docs on how to do something like this. I'm using the Tie::Registry module currently. Is there a different module that has something like this in it?I am able to

Re: Help! I Compilie Perl Module but encounter a problem that the long filename include space......

2006-01-02 Thread Alexander Apprich
Hi Gao, I might be wrong, but to me it seems your problem starts before nmake Makefile... gao perlone wrote: > I install the Perl in the directory :C:\develop tools\perl. > I compile a Perl Module as fellow: > > C:\Appconfig>perl Makefile.PL > Checking if your kit is complete... > Looks good >

Help! I Compilie Perl Module but encounter a problem that the long filename include space......

2006-01-02 Thread gao perlone
I install the Perl in the directory :C:\develop tools\perl.I compile a Perl Module  as fellow:C:\Appconfig>perl Makefile.PLChecking if your kit is complete...Looks goodUnable to find a perl 5 (by these names: C:\Develop Tools\Perl\bin\perl.exe perl .exe perl5.exe perl5.8.7.exe miniperl.exe, in thes