summaryrefslogtreecommitdiff
path: root/modules/WorkspaceHelper.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2008-06-17 17:15:26 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2008-06-17 17:15:26 +0000
commit1cde0c244a5bbe5a88390b327f5da3eae47909bb (patch)
tree311b150f6dfa06c7f34ece13f68435ea93105ff7 /modules/WorkspaceHelper.pm
parent821e676d9ff0c53f73f99ed68bd0113bd3c62add (diff)
downloadMPC-1cde0c244a5bbe5a88390b327f5da3eae47909bb.tar.gz
ChangeLogTag: Tue Jun 17 17:16:07 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/WorkspaceHelper.pm')
-rw-r--r--modules/WorkspaceHelper.pm13
1 files changed, 5 insertions, 8 deletions
diff --git a/modules/WorkspaceHelper.pm b/modules/WorkspaceHelper.pm
index 17c694d0..8c50e07c 100644
--- a/modules/WorkspaceHelper.pm
+++ b/modules/WorkspaceHelper.pm
@@ -16,14 +16,14 @@ use strict;
# Data Section
# ************************************************************
-my(%required) = ();
+my %required;
# ************************************************************
# Subroutine Section
# ************************************************************
sub get {
- my($type) = shift;
+ my $type = shift;
## Create the helper name
$type =~ s/Creator/Helper/;
@@ -52,16 +52,13 @@ sub get {
sub new {
- my($class) = shift;
- return bless {
- }, $class;
+ my $class = shift;
+ return bless {}, $class;
}
sub modify_value {
- my($self) = shift;
- my($name) = shift;
- my($value) = shift;
+ my($self, $name, $value) = @_;
return $value;
}