Tuesday, June 4, 2013

Array of Sausages

[12:36] Everybody: We can give her an array of sausages from which to choose.
[12:36] fantabulous: $sausage[0]
[12:37] Everybody: LOLOL.
[12:37] Everybody: I prefer my Perl arrays in caps
[12:37] Everybody: $SAUSAGE[0]
[12:37] Everybody: Or, $SAUSAGE[-1] if you want to be the last in line.
[12:38] Everybody: foreach $sausage (@SAUSAGES) { push (@THAT_HO, $sausage); } # Push it real good! -hic-
[12:38] Everybody: This is a trick. That's Yoko Ono.
[12:38] fantabulous: I thought THAT_HO would be scalar.
[12:38] fantabulous: But you can't push values onto a scalar.
[12:38] Everybody: Ooo.
[12:39] jesabele: ohgod I am going to refer to her as such now because she broke up the fucking band
[12:39] Everybody: push @{$THAT_HO_REF}
[12:39] Everybody: She's a scalar, but we'll treat her like an array. -hic-    
[12:39] Everybody: Because she's a dirty, dirty array at heart, and she likes it.    

No comments:

Post a Comment