Skip to content

Instantly share code, notes, and snippets.

@sycobuny
Created February 5, 2014 22:43
Show Gist options
  • Save sycobuny/8834862 to your computer and use it in GitHub Desktop.
Save sycobuny/8834862 to your computer and use it in GitHub Desktop.
10
Argument "hello" isn't numeric in addition (+) at test.pl line 9.
1
#!/usr/bin/env perl
use warnings;
use strict;
my ($x, $y) = ('hello', 5);
print length($x) + $y;
print "\n";
print length($x + $y);
print "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment