summaryrefslogtreecommitdiff
path: root/modules/VC8WorkspaceCreator.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2010-11-30 12:59:04 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2010-11-30 12:59:04 +0000
commit3ea95f5e013bd56d9f38d36c6a86202c57181eda (patch)
tree2392de6e0f82cb5f19ca1b363ddb81072a640799 /modules/VC8WorkspaceCreator.pm
parent8edf6d76d4df2ee4327106abcd3cf91c82998143 (diff)
downloadMPC-3ea95f5e013bd56d9f38d36c6a86202c57181eda.tar.gz
ChangeLogTag: Tue Nov 30 12:58:03 UTC 2010 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/VC8WorkspaceCreator.pm')
-rw-r--r--modules/VC8WorkspaceCreator.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/VC8WorkspaceCreator.pm b/modules/VC8WorkspaceCreator.pm
index bd8dcdd4..3003f256 100644
--- a/modules/VC8WorkspaceCreator.pm
+++ b/modules/VC8WorkspaceCreator.pm
@@ -22,10 +22,11 @@ use vars qw(@ISA);
# Data Section
# ************************************************************
-my %lang_map = (Creator::cplusplus => 'Visual C#',
- Creator::csharp => 'Visual C#',
- Creator::vb => 'Visual Basic',
- Creator::java => 'Visual J#');
+## NOTE: We call the constant as a function to support Perl 5.6.
+my %lang_map = (Creator::cplusplus() => 'Visual C#',
+ Creator::csharp() => 'Visual C#',
+ Creator::vb() => 'Visual Basic',
+ Creator::java() => 'Visual J#');
# ************************************************************
# Subroutine Section