473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Is there a way with PERL to set the checkboxes?

How can I set the check boxes ON using perl script? I've a process which provides HTTP port for monitoring and update functions. Also, it has check boxes which when set enables extra logging. I cannot change the original executable and so, wish to set the check boxes using the perl script. Can someone please help me on this?
Many thanks for all the help.
Mar 22 '07 #1
3 1203
miller
1,089 Expert 1GB
Hi Grb,

What you are asking is extremely vague.

You've given us no real understanding of what these checkboxes that are talking about are on. Are they on a webpage? Are they in an application? Are you wanting to automate the posting of a form? How is perl related this this problem that you're having at all?

Clarify what you're talking about, and maybe someone will be able to help you out.

- Miller
Mar 22 '07 #2
Sorry for confusion.
This is a webpage, an interface for monitoring & updating the memory cache of a process.
This webpage has a FORM in which it provides multiple check boxes to enable the tracing feature of this application.
I would like to automate enabling of these check boxes.
I related this to perl because, currently there is script as below, used to do similar actions on this web page. So, I thouht I might be able to achieve same results using perl script.

Expand|Select|Wrap|Line Numbers
  1. use LWP::UserAgent;
  2. use URI::URL;
  3. use HTTP::Request;
  4.  
  5. $url = new URI::URL('http://hkmeruat2.csfb.co.jp:21011/?oas=meth%2Finvoke&ns=%2Fself%2FCE%2FPX%2FCACHE%2FUNSUB&owlUserCredential=&Symbol=BHP.AX&Type=RIC');
  6.  
  7. $req = new HTTP::Request(GET, $url);
  8. $ua = new LWP::UserAgent;
  9. $resp = $ua->request($req);
  10. if ($resp->is_success) {
  11.     my $HtmlContent = $resp->content;
  12.     print STDOUT $HtmlContent;
  13. } else {
  14.     print STDOUT "Error occured";
  15. }
  16.  
If I'm allowed to attach a JPG file which shows this web page, I may be able to explain my quesion more.

Sorry if I missed something.
Mar 26 '07 #3
KevinADC
4,059 Expert 2GB
look into WWW::Mechanize
Mar 26 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Bryan Wood | last post by:
I am developing a regisration page that will present a set of check boxes to the viewer. This list of checkboxes is developed from a list in a database so the amount and names of the boxes will...
2
by: Czarina | last post by:
hi guys! here I am again, bugging you Here is where my page stands right now: http://www.gainesvillewebs.com/czar...h_results-2.htm The top 2 forms are working just fine, but the bottom one, with...
5
by: @(none) | last post by:
I have a page which is a set of CheckBoxes generated daily and thus the number of Checkboxes changes each day. What I want to do is allow the user to select one or more checkboxes and the push a...
3
by: Adam Toline | last post by:
In reference to the following: http://www.bellecose.com/form.htm At the top of each column there is a box for "All". When one is checked I need to check all of (and only) those boxes...
1
by: rdlauer | last post by:
I've just run into a strange problem with IE 6 and I'm wondering if anyone else has seen the same: On my form I have a hidden field that contains the HTML for a series of checkboxes: <input...
6
blazedaces
by: blazedaces | last post by:
Hey, so here's an example of what I want to do: This "window" if you will, or simple gui, will accept an ArrayList<String> and in turn spit out for every one of them a checkbox and a text field...
1
by: Carl Johansson | last post by:
I have a virtual ListView (VirtualMode set to true). To make it more convenient for the users of the ListView to select its items, I've set the ListView's CheckBoxes property to true. However, in...
1
by: 848lu | last post by:
hi, im working on a project, and i wanted to delete a record where the user first finds the booking_id (from searcg page) and then PERL searches the DB and displays the resultsand creates checkboxes...
7
by: viki1967 | last post by:
I need one function javascript that: 1) when I enter in this htm page I see enabled only checkbox of categories A, M and T; checkboxes of microcategories all disabled; 2-a) If I select the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.