CC: | jdhedden [...] cpan.org |
Subject: | Feature enhancement |
Date: | Tue, 21 Feb 2012 15:29:25 +0100 |
To: | bug-threads-shared [...] rt.cpan.org |
From: | Frank Heckes <f.heckes [...] fz-juelich.de> |
Dear Jerry,
first of all many thanks providing the great module(s)!
My mail is only a request for an enhancement to make reference to
functions (methods) also 'sharable' to threads.
For a single threaded script I created a 'switch-board' of sorts to call
the some function associated with a certain key. This simplifies code
maintenance a bit, cause one hasn't has to take care for constructs like
'if ( $var eq ...) { &func_1 } etc...'
Do you plan to extend the threads::shared module to support into this
direction? For the time being I can live with the workaround above.
Would it take much work to implement this feature?
Cheers
-Frank
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Kennen Sie schon unsere app? http://www.fz-juelich.de/app