Re: 2 dimensions array

2011-12-12 Thread Brandon McCaig
On Sun, Dec 11, 2011 at 12:57:27PM +0100, kurtz le pirate wrote: > Hello, Hello: > I want to have a two dim array. I build it like this: > > my @Cylinders; > > > /.*(<.*>),(<.*>).*/; > push @{$Cylinders[0]}, $1; > push @{$Cylinders[1]}, $2; > > > Seems to work but a get an array wi

Re: File health check on *nix system using stat

2011-12-12 Thread Peter Scott
On Sun, 11 Dec 2011 10:40:24 -0400, frank cui wrote: > Ok, to make this question more specific, the author of this book is > making a program to check if the files can be read off from the disk. > And he does so by checking two steps, first is making sure the meta data > of this file looks fine, an

Re: File health check on *nix system using stat

2011-12-12 Thread John W. Krahn
frank cui wrote: Thanks John and Peter for the reply. Ok, to make this question more specific, the author of this book is making a program to check if the files can be read off from the disk. And he does so by checking two steps, first is making sure the meta data of this file looks fine, Yes,

Re: error on Net::SSH::perl ---- [ weaken is only available with the XS version of Scalar::Util ]

2011-12-12 Thread Agnello George
>> Compilation failed in require at download_db_4_syncscript.pl line 7. >> BEGIN failed--compilation aborted at download_db_4_syncscript.pl line 7. >> >> any idea what went wrong .. thanks for all the help .. >> > > See: > > http://www.cybersprocket.com/2011/programming-languages/weaken-is-only-ava

Re: error on Net::SSH::perl ---- [ weaken is only available with the XS version of Scalar::Util ]

2011-12-12 Thread Shlomi Fish
Hi Agnello, On Mon, 12 Dec 2011 17:53:24 +0530 Agnello George wrote: > Hi > > Today morning my script went bad , i have not reason why , one > possibility i had installed webmin on the same , but t dont think > that is the issue > > weaken is only available with the XS version of Scalar::Util

error on Net::SSH::perl ---- [ weaken is only available with the XS version of Scalar::Util ]

2011-12-12 Thread Agnello George
Hi Today morning my script went bad , i have not reason why , one possibility i had installed webmin on the same , but t dont think that is the issue weaken is only available with the XS version of Scalar::Util at /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/Packet.pm line 22 BEGIN failed--comp