Skip to content

Instantly share code, notes, and snippets.

@Siddhant
Created March 8, 2012 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Siddhant/2001038 to your computer and use it in GitHub Desktop.
Save Siddhant/2001038 to your computer and use it in GitHub Desktop.
cut-paste weirdness
> my @primes;
for 2..100 {
if is_prime($_) {
push @primes, $_;
}
}
say join " ", @primes; # "2 3 5 7 11 13..."
> Unable to parse blockoid, couldn't find final '}' at line 3
> Unable to parse blockoid, couldn't find final '}' at line 3
> use of uninitialized value of type Any in string context
> Confused
> Confused
> say 'hi';
use of uninitialized value of type Any in string context
> say 'hi';
hi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment