in reply to Assign perl value in html link

Something like this:
<a href="/cgi-bin/myscript.pl?edit=company">Edit</a>

Then your script will need to look for the value of the edit param to decide which form to pop up.