Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: using 'use' conditionally

by BUU (Prior)
on Nov 06, 2002 at 02:12 UTC ( [id://210631]=note: print w/replies, xml ) Need Help??


in reply to using 'use' conditionally

This is basically a reply to everyone who suggested something like:
eval { use Tk; } if($@){ goto &cli } else { MainLoop(); }
And the problem is that it takes control away from the user. What if i have Tk, but i don't want to use the bloody tk interface?

Replies are listed 'Best First'.
Re: Re: using 'use' conditionally
by boo_radley (Parson) on Nov 06, 2002 at 02:22 UTC

    BUU asks :

    What if i have Tk, but i don't want to use the bloody tk interface?
    Then you probably wouldn't be specifying it using the -g option, as given in the original question.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://210631]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-03-29 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found