Created
April 16, 2013 00:11
-
-
Save cfedde/5392341 to your computer and use it in GitHub Desktop.
perltidy does not know about //=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/perl | |
# Before perltidy | |
helper ndb => sub { state $db //= BCV::DB->new('SwitchCLLI') }; | |
helper cdb => sub { state $db //= BCV::DB->new('STARS') }; | |
# After perltidy | |
helper ndb => sub { state $db // = BCV::DB->new('SwitchCLLI') }; | |
helper cdb => sub { state $db // = BCV::DB->new('STARS') }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment