News for hackers. Stuff that matters.
Re:Rust is surprisingly expressive by draegtun on Sunday December 29, 2013 @09:04AM (#6979539)
Perl's autobox is lexical so it is also not a global change. For eg.

  use 5.016;
  use warnings;

  {
      use autobox;
      use autobox::DateTime::Duration;

      say 2->days->ago;  # 2013-12-27T14:03:47 (stringified output of DateTime object)
  }

  say 2->days->ago;      # Can't call method "days".... (runtime error)

There are no comments on this comment yet.