Help for this page

Select Code to Download


  1. or download this
    my @fields = split(/;/);
    my $obj = SomeClass->new(this => "$fields[0]",
                 that => "$fields[1]",
                 the_other => "$fields[2]",
                );
    
  2. or download this
    my @fields = qw/this, that, the_other/;
    my %argsHash = ???;
    my $obj = SomeClass->new(%argshash);