Re: overridding the theme in ~.gtkrc-2.0
- From: Dave Howorth <dhoworth mrc-lmb cam ac uk>
- To: gtk-perl-list gnome org
- Subject: Re: overridding the theme in ~.gtkrc-2.0
- Date: Fri, 24 Aug 2007 13:18:28 +0100
Sergei Steshenko wrote:
Another trick in Perl - if one wants to control the order in which 'use ...'
statements are executed, 'eval' comes handy, i.e. one can write:
<something_to_be_done_first>
eval "use Foo;";
No need for BEGIN blocks or tricks:
require Foo;
Foo->import; # if necessary
Cheers, Dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]