Jason Malburg wrote:
> Hi,
Hello,
> I'm working on a complex data structure with hashes of hashes and
> hashes of arrays and I noticed a weird behavior I was hoping someone
> could explain.
Put these two lines at the beginning of your program:
use warnings;
use strict;
and p
On 12/28/06, Jason Malburg <[EMAIL PROTECTED]> wrote:
Hi,
I'm working on a complex data structure with hashes of hashes and
hashes of arrays and I noticed a weird behavior I was hoping someone
could explain. Here's a sample:
$Data{US17}{1}{GROUP} = "STRING";
$Data
Hi,
I'm working on a complex data structure with hashes of hashes and
hashes of arrays and I noticed a weird behavior I was hoping someone
could explain. Here's a sample:
$Data{US17}{1}{GROUP} = "STRING";
$Data{US17}{1}{GROUP}{.001} = 5;
$Data{US17}{1}{GROUP}{.002} = 6;
ther a hash of hashes, hash of arrays, or similar.
>
> One possible solution depends on your data structure.
> Frequently hashes of hashes are convenient, but can
> eat up a lot of memory and program speed when they
> get large. On the other hand, if your keys allow it,
> you can
Hi all,
Another simple one, I hope. I have data like this.
Computername:Description:Failed Pings
At present I am putting this data into seperate arrays
and using an index to get it out in order. Not an
extremely efficient way to do this and I will need to
add more fields later and the like.
I
DBM file,
and I use Hashes of Hashes and this kind of structures .
for getting a user ID,name and password and add it to DBM file i did like this..
for example ,i only write useful part of my code
my %user_info; #for Containing User Information
my $userDB = "UserDB.dbm"; #the fil
DBM file,
and I use Hashes of Hashes and this kind of structures .
for getting a user ID,name and password and add it to DBM file i did like this..
for example ,i only write useful part of my code
my %user_info; #for Containing User Information
my $userDB = "UserDB.dbm"; #the fil
in one DBM file,
and I use Hashes of Hashes and this kind of structures .
for getting a user ID,name and password and add it to DBM file i did like this..
for example ,i only write useful part of my code
my %user_info; #for Containing User Information
my $userDB = "UserDB.dbm";
On Tue, Jul 31, 2001 at 05:34:39PM -0500, Chris Garringer wrote:
> I have a program that has an array of days of the month, the array value
> $is a hash, the value of the hash is a hash, and its value is an array
> $logs[$day]{}{}[]
[snip]
> Can someone show me how I can print this out?
Why are y
I think that is right, I admit that Perl's data structures confuse me and I don' t
have it right yet.
I have a program that has an array of days of the month, the array value is a hash,
the value of the hash is a hash, and its value is an array
$logs[$day]{}{}[]
This structure works fine to loa
On Fri, Jun 22, 2001 at 05:25:13PM +0200, Remko Lems wrote:
> for $File (reverse (sort {$All_Scores{$a}{Trimmed} cmp
> $All_Scores{$b}{Trimmed}} keys %All_Scores)) {
> InsertSortedEntries ($File, $All_Scores);
> }
[snip]
>
>
> no
> 11
> 10
> 01
> 00
>
>
>
> That's not exact
Hi,
I'm trying to sort and print the numerical and text values inside hashes of
hashes. It's almost functioning correctly.
elsif ($User_Choice =~ /^T/i) {
for $File (reverse (sort {$All_Scores{$a}{Trimmed} cmp
$All_Scores{$b}{Trimmed}} keys %All_Scores)) {
InsertSor
12 matches
Mail list logo