Skip to content

Instantly share code, notes, and snippets.

@sugar84
Created August 11, 2011 11:08
Show Gist options
  • Select an option

  • Save sugar84/1139393 to your computer and use it in GitHub Desktop.

Select an option

Save sugar84/1139393 to your computer and use it in GitHub Desktop.
strange
#!/usr/bin/env perl
use strict;
use warnings;
my $struct = {
bb => [qw(gg hh jj)],
};
if (@{$struct->{bb1}}) {print "works"}
for (@{$struct->{bb1}}) {print}
print "ehlo";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment