Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^6: Perl Get issue

by petdance (Parson)
on Nov 14, 2012 at 17:26 UTC ( #1003865=note: print w/replies, xml ) Need Help??


in reply to Re^5: Perl Get issue
in thread Perl Get issue

The problem is that regexes are not a robust way to parse HTML. You may be parsing a given page correctly, but if that page ever changes, your regexes will break.

See http://htmlparsing.com/perl.html for some examples of how to do it right, and http://htmlparsing.com/regexes.html gives more details about why regexes are a bad idea.

xoxo,
Andy

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003865]
help
Chatterbox?
LanX ... on monster.com
[r@j]: # list all of a user's processes my $process_java = $lConfig_Hash{$MFT _CMD."_java"}; my $Process = find_proc(user=>' raj', detail=>1) || die "Sorry, $Process_java is not running" ; if(proc_exists( name=>'$Process_ja va')){
[LanX]: see SOPW
[r@j]: guys i am begginer on perl and above code is not working on window environment.kindly suggest which support on both window and Unix environment

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2017-10-23 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (280 votes). Check out past polls.

    Notices?