Slexy.org is shutting down and stopped accepting new Pastes on May 4th, 2021.
Existing Pastes will stop being available on or after May 10th, 2021.
Author: Not specified Language: perl
Description: Not specified Timestamp: 2017-09-23 14:35:38 +0000
View raw paste Reply
  1. $x = 0;
  2. sub f { return $x; }
  3. sub g { local $x = 1; return f(); }
  4. print g()."\n";
View raw paste Reply