Skip to content

Instantly share code, notes, and snippets.

@xaicron
Created November 18, 2010 06:48
Show Gist options
  • Save xaicron/704703 to your computer and use it in GitHub Desktop.
Save xaicron/704703 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
use 5.12;
sub list {
return qw(miyagawa tokuhirom nekokak);
}
sub array {
my @ret = qw(miyagawa tokuhirom nekokak);
return @ret;
}
say scalar list();
say scalar array();
__END__
nekokak
3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment