Advertisement
robn

Untitled

Feb 6th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.14 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use 5.016;
  4. use warnings;
  5. use strict;
  6.  
  7. our $x = 5;
  8.  
  9. {
  10.     local $x = 10;
  11.     sub x() {
  12.         say $x;
  13.     }
  14. }
  15.  
  16. x();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement