http://www.perlmonks.org?node_id=1031200

virudinesh has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: its click both button will be execute?
by Random_Walk (Prior) on Apr 29, 2013 at 12:43 UTC

    Please edit this to use <code>Some code</code> tags around your code. Then we will be able to read it without getting headaches. It does look like you have tried as I can see a <code> tag at the start of your post. But something is not right.

    Update

    I do suspect these two lines may be related to your trouble.

    $wb[0] = ...; $wb2 = ...;

    I would also add use strict; use warnings; and follow the recomendations it spits out at you.

    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!
Re: its click both button will be execute?
by hdb (Monsignor) on Apr 29, 2013 at 13:30 UTC

    • In each of the radio buttons you need to link to the same variable.
    • The -value paramater needs to be set to a different value.
    • This is the value that your variable is set to when clicking the button.
    • You should probably have the same command associated with each button that looks at the variable and does something different depending on its value.
    • When you click a radio button you first need to delete the Frame created by another button.