You have not given us a clear enough picture of what you are trying to do, you may want to read
How do I post a question effectively?. If you mean a module like
WWW::Mechanize which supports
JavaScript you may want to look at
Mozilla::Mechanize or
Win32::IE::Mechanize. If this is not the case please update your question with more information.
Hope this helps
Martin