Jeff 'japhy' Pinyan wrote:
On Nov 4, JupiterHost.Net said:
I'm beating my head against the wall trying to remember where I saw
this / how to do this:
In some documentation I remember seeing a use statement that had some
sort of condition.
use if ...;
perldoc if
YES Jeff you ro
On Nov 4, JupiterHost.Net said:
I'm beating my head against the wall trying to remember where I saw this
/ how to do this:
In some documentation I remember seeing a use statement that had some sort of
condition.
use if ...;
perldoc if
--
Jeff "japhy" Pinyan% How can we ever be
Howdy Perl Studs
I'm beating my head against the wall trying to remember where I saw this
/ how to do this:
In some documentation I remember seeing a use statement that had some
sort of condition.
Its the same idea as how:
use Foo if $WE_DO_WANT_FOO;
reads (but of course that doesn't wor
On 02/23/04 06:29, Gary Stainburn wrote:
Hi folks.
I'm moving on with my Trainset project and I've got to the point where I want
to develop Trainset::Tk to create a user interface for someone setting in a
signalbox.
To do this, I've created Trainset/Tk.pm as below, and included a
use Trainset
On Mon, Feb 23, 2004 at 11:29:50AM +, Gary Stainburn wrote:
> Is there a way to only 'use Trainset::Tk' conditionally, or even better, have
> it auto-detect the availability and simply ignore it if it's not there.
I do that in the following fashion:
BEGIN { eval "use Trainset::Tk" } # We
Hi folks.
I'm moving on with my Trainset project and I've got to the point where I want
to develop Trainset::Tk to create a user interface for someone setting in a
signalbox.
To do this, I've created Trainset/Tk.pm as below, and included a
use Trainset::Tk;
in my Trainet.pm. The problem I h