News for hackers. Stuff that matters.
Re:What’s new in Perl 5, Version 13 by sigzero on Tuesday September 28, 2010 @07:31AM (#1735314)
The given/when replaces the kludge that is SWITCH I think. I like the new package block. I am not exactly sure why though. Thanks for the link.
Re:What’s new in Perl 5, Version 13 by draegtun on Tuesday September 28, 2010 @08:45AM (#1735473)
Yes given/when was added at perl 5.10 (2007) as the Perl6 style "alternative" to the Switch source filter kludge. Switch usage was deprecated and will now be removed from core with perl 5.13/5.14.