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

Re: [MacPerl-AnyPerl] Multi Platform Scripts



On Mon, Aug 09, 1999 at 12:26:07PM -0400, Chris Nandor wrote:
> At 11:54 -0400 1999.08.09, Ronald J Kimball wrote:
> >Well, if you need conditional use at compile time, that's easy enough to
> >do:
> >
> >BEGIN {
> >  if ($^O eq 'MacOS') {
> >    require Mac::StandardFile;
> >    import Mac::StandardFile;
> >  }
> >}
> 
> Right, you can do it in a BEGIN, but what about the case where dselayed
> execution forces you to not include it in a BEGIN?
> 

Not sure exactly what you mean...  But if you need delayed execution, you
can't use use anyway, so you're not losing anything.

Ronald

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org