Skip to content

Instantly share code, notes, and snippets.

@built
Created June 13, 2009 07:01
Show Gist options
  • Save built/129133 to your computer and use it in GitHub Desktop.
Save built/129133 to your computer and use it in GitHub Desktop.
sub get_operand {
my $arg = shift;
my $listref = @$arg;
if (UNIVERSAL::isa($listref, 'ARRAY')) {
my $x = @$listref;
print length($x).join(",",$x) . "\n"
# WTF?
}
else {
#return %registers{$arg}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment