Not to nitpick or anything, but the example you gave for code tags belies the suggestion you made. In fact, when you reformatted it, you removed the brackets, invalidating the changes. I would suggest something more like:
@array1 = ( { 'url' => [ 'wp-content/uploads/2012/04/HB-177-Veto-Letter.pdf' ], 'bill' => [ 'CS3', 'HB', '177', 'Inmate Reentry', 'Porth', '3/9/12', '3/30/1 +2', 'VETO' ] }, { 'url' => [ 'uploads/2012/03/3.29.12-Transmittal-Letter-3.pdf' ], 'bill' => [ 'CS1', 'HB', '697', ' School Board of Sumter County', 'McBurney' +, '3/9/12', '3/16/12', 'VETO' ] }, { 'url' => [ 'tent/uploads/2012/04/HB-865-Veto-Letter.pdf' ], 'bill' => [ '', 'HB', '865', 'Pinellas Suncoast Transit Authority, Pinellas +County', 'Hooper', '3/9/12', '3/30/12', 'VETO' ] }, . . . );
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re^2: perl array of hashes help
by roboticus
in thread perl array of hashes help
by ragilla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |