diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-24 22:55:51 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-24 22:55:51 +0000 |
commit | 9bf28bf5ac1cb628ed935d4498694a7482b32de0 (patch) | |
tree | 22276e1a378652895917eada7c89dce2c1144319 /lib/sbin/checkout.pl | |
parent | 3b0a0ea158df599e3fd87ab5100bf8e4344b322b (diff) |
Changed to use Perl5 stuff...
local -> my
used perl 5 references for passing databases around in the CST.
CST is now about a factor of 16 faster !
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1101 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/checkout.pl')
-rw-r--r-- | lib/sbin/checkout.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sbin/checkout.pl b/lib/sbin/checkout.pl index d271715d..aec16a43 100644 --- a/lib/sbin/checkout.pl +++ b/lib/sbin/checkout.pl @@ -73,8 +73,8 @@ while () sub get_arrangements { - local(%info); - local($arrangement); + my(%info); + my($arrangement); print "\nYou already have arrangements: \n\n"; %info = &buildthorns("arrangements/","arrangements"); @@ -151,8 +151,8 @@ sub get_arrangements sub get_thorns { - local(%info); - local($thorn); + my(%info); + my($thorn); print "\nYou already have thorns: \n\n"; @@ -353,7 +353,7 @@ sub print_help sub CheckOut { - local($file) = @_; + my($file) = @_; print("Checking out $file\n"); system("cvs -z9 -q checkout $file"); |