Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Search and Remove

by PyrexKidd (Monk)
on Jun 12, 2010 at 21:34 UTC ( #844370=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    
  2. or download this
    Use of uninitialized value in string eq at ./delete_list_ver2.pl line 
    +27.
    Use of uninitialized value in print at ./delete_list_ver2.pl line 37.
    
  3. or download this
        
        # open files, read into array, sort array
        open (ORGLIST, "<", $ARGV[0]);
    ...
        close (NEWORGLIST);
        
        unlink @orgList; unlink @delList;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://844370]
help
Chatterbox?
[james28909]: i am manually parsing html, and am trying to wrap my head around keeping up with tag counts
[james28909]: i can extract a certain tree manually by regexing the html file for a starting anchor, then i send the position of the match to a sub and then seek to that position in the file and keep up with div tags (for now)
[james28909]: how can i manage multiple tags? other than div?
[james28909]: i count the div and /div and when count == 0 it means i have got that nested tree

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-04-25 03:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (448 votes). Check out past polls.