Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: 'undef' in the matrix instead of values!!!

by citromatik (Curate)
on Feb 06, 2008 at 14:57 UTC ( #666575=note: print w/replies, xml ) Need Help??


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:

my $Measure = shift; eval "require $Measure;import $Measure;"; ## Now, luckily you can use it: $Measure->new();
citromatik

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
    atually that dosnt matter wid or widout i imported the module... it dosnt work :(
Re^4: 'undef' in the matrix instead of values!!!
by smilly (Novice) on Feb 08, 2008 at 03:33 UTC
    hey guys im done! debugged cooooollllll:D it works) life rocks:P

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://666575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2020-10-21 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (212 votes). Check out past polls.

    Notices?