Re: overridding the theme in ~.gtkrc-2.0



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]