Skip to content

Instantly share code, notes, and snippets.

@Code-Hex
Created July 20, 2015 12:41
Show Gist options
  • Save Code-Hex/04160a79756ec974e65f to your computer and use it in GitHub Desktop.
Save Code-Hex/04160a79756ec974e65f to your computer and use it in GitHub Desktop.
eval
#!/usr/bin/perl
use strict;
use warnings;
my $b = 10;
eval "\$b += 100;";
eval "print \"Hello, eval\n\";";
print "$b\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment