I like this patch better than BEGIN blocks, though I don't understand
why it is necessary to use catdir.

On Sat, 2011-03-12 at 15:12 +0200, Yavor Nikolov wrote:
> Yes, using something standard like "use lib" seems best to me too (the
> problem is that it's usage is not very straightforward at runtime).
> 
> Anyway - I'm attaching my patch for this issue. Seems to work fine for
> me.
> 
> Regards,
> Yavor
> 
> 2011/3/11 Thorsten Schöning <tschoen...@am-soft.de>
>         Guten Tag Yavor Nikolov,
>         am Freitag, 11. März 2011 um 12:21 schrieben Sie:
>         
>         >  - some of the options we've already discussed here ("use
>         lib" or PERL5LIB)
>         
>         
>         In my oppinion one of these is the only solution we should
>         consider
>         and prefer use lib.
>         
>         >  - Some utility module may be available to facilitate
>         determining/inclusion
>         > of platform-specific library paths
>         
>         
>         Like use lib does? :-)
>         
>         >  - Customizable configuration of paths to include (into some
>         config file)
>         
>         
>         It's unnecessary error prone to configure things which are
>         checked by
>         use lib or even PERL5LIB automatically. Of course besides
>         using use
>         lib to load Bugzilla with all it's dependencies a separate
>         configuration could be interesting for scenarios where not all
>         packages used by SCMBug are installed globally or stuff like
>         that. But
>         this can only be an option, Bugzilla/lib must be included
>         using use
>         lib in any case. And I can't think of a scenario for the
>         additional
>         configuration at the moment.
>         
>         Regarding my former ideas, it wouldn't be to much work to
>         support an
>         array with directories in the configuration file of SCMBug
>         daemon
>         which is added to the include path via use lib just like the
>         Bugzilla/lib-directory itself. The array is available after
>         evaling
>         the configuration in any case.
>         
>         Mit freundlichen Grüßen,
>         
>         Thorsten Schöning
>         
>         
>         --
>         Thorsten Schöning
>         AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
>         
>         Telefon: Potsdam: 0331-743881-0
>         E-Mail:  tschoen...@am-soft.de
>         Web:     http://www.am-soft.de
>         
>         AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
>         Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas
>         Muchow
>         
>         _______________________________________________
>         
>         
>         scmbug-users mailing list
>         scmbug-users@lists.mkgnu.net
>         http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
>         
> 
> _______________________________________________
> scmbug-users mailing list
> scmbug-users@lists.mkgnu.net
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
scmbug-users@lists.mkgnu.net
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to