Help for this page

Select Code to Download


  1. or download this
    if (not exists $coordinates->{$group}{$id}{$stage}{"coords"}) {
    
  2. or download this
    if (not exists ${$coordinates}{$group}{$id}{$stage}{"coords"}) {
    if (not exists ${${${${$coordinates}{$group}}{$id}}{$stage}}{"coords"}
    +)
    
  3. or download this
    if (not defined $coordinates->{$group}{$id}{$stage}{"coords"}) {
    if (!($coordinates->{$group}{$id}{$stage}{"coords"})) {
    
  4. or download this
    foreach my $coord_no (keys %{$$coordinates{$group}{$id}{$stage}{"coord
    +s"}}) {…}
    
  5. or download this
    if (not exists %{$$coordinates{$group}{$id}{$stage}{"coords"}}) {
    exists argument is not a HASH or ARRAY element
    
  6. or download this
    if (not defined %{$$coordinates{$group}{$id}{$stage}{"coords"}}) {
    if (!(%{$$coordinates{$group}{$id}{$stage}{"coords"}})) {
    
  7. or download this
    if (not exists %{$$original_data{$group}{$id}{$stage}}) {
    # exists argument is not a HASH or ARRAY element
    ...
    # works
    if (!(%{$$original_data{$group}{$id}{$stage}})) {
    # Can't use an undefined value as a HASH reference