Search Results

Search: Posts Made By: jgfcoimbra
6,530
Posted By jgfcoimbra
Perl Hash:Can not keep hash data in the same order that it was inserted
Can Someone explain me why even using Tie::IxHash I can not get the output data in the same order that it was inserted? See code below.

#!/usr/bin/perl
use warnings;
use Tie::IxHash;
use...
1,888
Posted By jgfcoimbra
Thank you very much for the solution, it works...
Thank you very much for the solution, it works perfect.
Does anybody know how can I tie this hash %products?
I tried to use:
use Tie::IxHash;
my %products;
tie %products, "Tie::IxHash";

But...
1,888
Posted By jgfcoimbra
Perl hash definition problem
I am trying to generate a report based on an input file with the following layout:

COMPANY1--SITE1--PROGRAM1--PRODUCT1--PRICE1
COMPANY1--SITE1--PROGRAM2--PRODUCT1--PRICE1...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy