in reply to Re: Re: checking keys exist in 1 key:multiple value situation
in thread checking keys exist in 1 key:multiple value situation
Please read the site how to and the perl monks faq, and format your post correctly (use <CODE></CODE> tags for code)#!/usr/bin/perl use Data::Dumper; use strict; use warnings; my %hashes = ( 1..4); push @{$hashes{z}}, 1..3; die Dumper\%hashes; __END__ $VAR1 = { '1' => 2, '3' => 4, 'z' => [ 1, 2, 3 ] };
|
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! ** The Third rule of perl club is a statement of fact: pod is sexy. |
|
|---|