in reply to Re^2: 'undef' in the matrix instead of values!!!
in thread 'undef' in the matrix instead of values!!!
You can't include a module into your program just by putting its name in the arguments list. They must be included at compile time by using the use statement or at execution time by using require and import.
Maybe one way to do what you want could be:
citromatikmy $Measure = shift; eval "require $Measure;import $Measure;"; ## Now, luckily you can use it: $Measure->new();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: 'undef' in the matrix instead of values!!!
by smilly (Novice) on Feb 08, 2008 at 02:29 UTC | |
|
Re^4: 'undef' in the matrix instead of values!!!
by smilly (Novice) on Feb 08, 2008 at 03:33 UTC |