Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Tk returns from a sub

by matija (Priest)
on Sep 13, 2004 at 14:45 UTC ( #390570=note: print w/replies, xml ) Need Help??

in reply to Tk returns from a sub

command will call &get_params in a void context. That means the array it returns will end up in the great write-only bitbucket in the sky.

Yes, you can do that, no damage done - unless you need the contents of that array. In that case, you will need to make other arrangements.

Replies are listed 'Best First'.
Re^2: Tk returns from a sub
by Scarborough (Hermit) on Sep 13, 2004 at 14:54 UTC
    I think thats where I go in my nightmares - the great write-only bitbucket in the sky.

    I've now changed things to take an extra parameter a ref to an array and load that up in the sub. Thanks for your help.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2016-10-23 21:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.