Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-16 Thread Panda-X
2008/12/17 Chas. Owens > On Tue, Dec 16, 2008 at 10:30, Panda-X wrote: > > Hi Owen, > > > > 2008/12/15 Chas. Owens > >> > >> On Mon, Dec 15, 2008 at 04:18, Panda-X wrote: > >> > Hello, > >> > > >> > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) > >> > items inside are all has

Re: Perl JSON

2008-12-16 Thread Rob Dixon
AtiqulRE wrote: > > New to Perl. Need help to write server side using Perl that returns > JSON data. > > Please include detail examples. e.g. how to take a hash and convert to > JSON or array of hashes and convert them into JSON, etc. This is a friendly, unpaid, personal service. Given that, you

disk performance or destructive testing

2008-12-16 Thread ben perl
Does anyone know any perl module for validating or do some desctructive testing on disks on Linux platform? Thanks, -Ben

Re: uncompress winzip file using perl

2008-12-16 Thread Chas. Owens
On Tue, Dec 16, 2008 at 10:56, Fisher, John wrote: snip > anyinflate failed: Header Error: Encrypted content not supported > > Do you think the binary is confusing the uncompress? Any way around that? snip My bet is that this isn't a binary/text issue. It looks like the zip file was encrypted an

Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-16 Thread Chas. Owens
On Tue, Dec 16, 2008 at 10:30, Panda-X wrote: > Hi Owen, > > 2008/12/15 Chas. Owens >> >> On Mon, Dec 15, 2008 at 04:18, Panda-X wrote: >> > Hello, >> > >> > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) >> > items inside are all hashes. >> > >> > and the next step I dealing wi

uncompress winzip file using perl

2008-12-16 Thread Fisher, John
I used winzip 12.0 to zip a file and used the code below to successfully unzip it. === #!/usr/bin/perl -w use IO::Uncompress::AnyInflate qw(anyinflate $AnyInflateError) ; @ARGV == 2 or die "Usage: $0 \n"; my $input=$ARGV[0]; my $output=$ARGV[1]; if ( -f $input ) { } else { print "Input fi

Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-16 Thread Panda-X
Hi Owen, 2008/12/15 Chas. Owens > On Mon, Dec 15, 2008 at 04:18, Panda-X wrote: > > Hello, > > > > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) > > items inside are all hashes. > > > > and the next step I dealing with this hash tree is to use > > Data::Dumper to dump it out.