Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
General
:
Perl Programming
:
Using Strict: use $variable;
Previous Thread
Next Thread
Print Thread
View Threaded
Feb 5, 2001, 3:59 PM
clarkn
Novice
(9 posts)
Feb 5, 2001, 3:59 PM
Post #1 of 4
Views: 2861
Shortcut
Using Strict: use $variable;
Cany ou do this somehow? I want to use a module, but want the module to be a variable name:
use strict;
$variable = '123';
use $variable;
can I do this?
Feb 5, 2001, 4:07 PM
Stealth
Veteran
(17240 posts)
Feb 5, 2001, 4:07 PM
Post #2 of 4
Views: 2773
Shortcut
Re: Using Strict: use $variable;
In reply to
You need to use
my
....
my $variable = "123";
Good luck!
Regards,
Eliot Lee
Feb 5, 2001, 4:48 PM
clarkn
Novice
(9 posts)
Feb 5, 2001, 4:48 PM
Post #3 of 4
Views: 2766
Shortcut
Re: Using Strict: use $variable;
In reply to
Yeah, i know that much. I just want to find out how to require the perl module if it has a variable name.
Feb 5, 2001, 7:02 PM
Mark Badolato
Veteran
(1509 posts)
Feb 5, 2001, 7:02 PM
Post #4 of 4
Views: 2750
Shortcut
Re: Using Strict: use $variable;
In reply to
In Reply To:
how to
require
the perl module
Installation support is provided via ICQ at UIN# 53788453. I will only respond on that number.
Previous Thread
Next Thread
Print Thread
View Threaded