in reply to HTML::Form and reading radio button values

... The problem I am having is when I try to access the properties of the object ... HTML::Form::ListInput

Why not use the api of HTML::Form?

if( my $FileName = $form->find_input('FileName') ){ my @vals = sort $FileName->possible_values ; $FileName->value( $vals[-1] ); }

https://metacpan.org/pod/HTML::Form::ListInput#input-form-find_input-selector, https://metacpan.org/pod/HTML::Form::ListInput#value-input-value, https://metacpan.org/pod/HTML::Form::ListInput#input-possible_values

Replies are listed 'Best First'.
Re^2: HTML::Form and reading radio button values
by aikiPupil (Initiate) on Jun 12, 2015 at 17:26 UTC
    Thank you very much for the reply, it did not occur to me to use the possible_values of the input object despite having looked right at it while reviewing the documentation.