[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Howto import modules ...



"Georges Martin" <georges.martin@deboeck.be> writes:
>Is there a similar method to encapsulate the 'require'd .pl files used in
>old scripts ?

Works exactly the same. "use" is just syntactica sugar around "require".

>I tried to manually copied these files into TEXT resources and naming them
>accordingly but it doesn't work... as I suspected :-)

The TEXT resource mechanism was broken in some versions, so be sure to try
5.1.3.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
  "What sort of idiot believes a USENET posting proves anything?  Paid your
   modem tax lately?" -- Fritz Anderson

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch