Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://390570]
help
Chatterbox?
jedikaiti is glad to see the conditioning persists...
[jedikaiti]: And yes, I have saved down a copy and added it to my walpaper rotation
[zentara]: jedikaiti my condition has a condition :-)
[jedikaiti]: :-D
[Your Mother]: ♫ You say apod, I say Perl POD ... let's call the whole thing off ♬

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2017-08-18 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (304 votes). Check out past polls.

    Notices?