Help for this page

Select Code to Download


  1. or download this
        my $fields;
        eval $_;
        die if $@;
    
        my ( $name, $location, $mapref, $type, $description ) = @$fields;
    
  2. or download this
    #! perl
    use strict;
    ...
    
    __DATA__
    $name="MyName";$location="MyLoc";$mapRef="MyRef";$type="MyType";$descr
    +iption="MyDesc";
    
  3. or download this
    $fields = ["MyName","MyLoc",undef,"MyType","MyDesc"];
    
  4. or download this
    use strict;
    use warnings;