Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[miscperl] r266: LJSUP-8865 (ensure that modules in cgi-b...

Committer: ailyin
LJSUP-8865 (ensure that modules in cgi-bin use strict)
U   trunk/S2/Color.pm
Modified: trunk/S2/Color.pm
===================================================================
--- trunk/S2/Color.pm	2011-03-01 07:58:17 UTC (rev 265)
+++ trunk/S2/Color.pm	2011-05-24 04:11:06 UTC (rev 266)
@@ -1,11 +1,10 @@
-#!/usr/bin/perl
-#
+package S2::Color;
+use strict;
+
 # This is a helper package, useful for creating color lightening/darkening
 # functions in core layers.
 #
 
-package S2::Color;
-
 # rgb to hsv
 # r, g, b = [0, 255]
 # h, s, v = [0, 1), [0, 1], [0, 1]

Tags: andy, miscperl, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments