Created
March 20, 2009 02:04
-
-
Save miyagawa/82166 to your computer and use it in GitHub Desktop.
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
From eaaaa91b8775ff972f91f6e89049159fb55fcd9d Mon Sep 17 00:00:00 2001 | |
From: Tatsuhiko Miyagawa <miyagawa@bulknews.net> | |
Date: Thu, 19 Mar 2009 19:01:53 -0700 | |
Subject: [PATCH] Need to use it | |
--- | |
lib/once.pm | 2 ++ | |
1 files changed, 2 insertions(+), 0 deletions(-) | |
diff --git a/lib/once.pm b/lib/once.pm | |
index 7052124..03143cb 100644 | |
--- a/lib/once.pm | |
+++ b/lib/once.pm | |
@@ -28,6 +28,8 @@ once - execute code only once throughout the program's lifetime | |
=head1 SYNOPSIS | |
+ use once; | |
+ | |
sub setup { | |
my $self = shift; | |
ONCE { | |
-- | |
1.6.1.3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment