|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
How to retrive USERNAME and PASSWORD from the browser window(which is in HTML) using Perl.
My mainwindow in a HTML page i need to get the usename and password from the HTML using Perl and then do validaion later.Valitdation phase i can handle , but i need help for getting the values from HTML page using perl. |
|
#2
|
||||
|
||||
|
For parsing HTML pages, use a tag-aware parser such as HTML::TokeParser or HTML::TokeParser::Simple.
__________________
~ishnid; Have you tried: [ search.cpan.org | perldoc | Java API | mysql.com | google ] Apostrophes are NOT used for possessive pronouns or for noun plurals, including acronyms. |
|
#3
|
|||||
|
|||||
|
I don't think the OP is looking to parse HTML, sounds like he's trying to collect the username and password from a browser to process it
perl Code:
[/highlight]
__________________
--Ax without exception, there is no rule ... The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones ![]() 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. -- Jamie Zawinski |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Retrive values from HTML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|