E
Experienced but Undocumented
Newbie question: I've got an array like so:
$foo{'bar'} = "test";
Is there a way to assign a default value to any undefined values? For
example, if the program requests $foo{'abc'} and we haven't defined it, for
the default value to be used?
Thanks
$foo{'bar'} = "test";
Is there a way to assign a default value to any undefined values? For
example, if the program requests $foo{'abc'} and we haven't defined it, for
the default value to be used?
Thanks