I'm trying to return the following data from this subroutine... The subroutine is not complete, but I just want to know how to print the result from the subroutine...
The output of the script would be something like HASH(0x1830318) which tells me it is a hash, but I'm not sure how to properly print the return results from the subroutine.
Thanks.
#!/usr/bin/perl
my $string = "test me";
my %hash = parse($string);
sub parse (
return (
a => \@a,
b => \%b,
c => $c
}
}