with $query->defaults('Defaults') = <input type="submit" name=".defaults" value="Defaults" />
i get following error
can't modify non-lvalue subroutine call
thanks for your reply
Comment on Re^2: CGI.PM automaticly reset form to Defaults
Erm.. the poster meant that $query->defaults('Defaults') returns <input type="submit" name=".defaults" value="Defaults" />. It probably wasn't meant as a line of code to be copied in total. :-)