Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Writing a Perl module that dynamically loads other modules

by karlgoethebier (Curate)
on Mar 01, 2013 at 20:29 UTC ( #1021332=note: print w/ replies, xml ) Need Help??


in reply to Writing a Perl module that dynamically loads other modules

Why "dynamic"? Common sense tells me (OK - it's denglish isn't it?): Just load them all before doing anything and then do that if/else/switch stuff. Or do you have hundreds of file types ;-)

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»


Comment on Re: Writing a Perl module that dynamically loads other modules
Re^2: Writing a Perl module that dynamically loads other modules
by mgad (Novice) on Mar 01, 2013 at 20:57 UTC

    Hi Karl - See above, I don't have hundreds of filetypes but I do have more than seventy and (IMHO) that's too many to load up front. :)

      Hi mgad, what kind of task is this (so many file types)? Perhaps you can provide some more information?

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

        Hi Karl - They're engineering/component specifications for a bunch of different types of equipment. I'm simply parsing them for the important bits that are to be stored for future reporting needs. And for anyone else who might stumble across this, the thing that I've now learned is that I'm essentially building a "Perl factory" for different file types. A quick web search yielded a bunch of useful info. Cheers!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-08-31 00:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls