Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Can't use string ("0") as a HASH ref

by kp2a (Sexton)
on Sep 28, 2008 at 16:03 UTC ( #714185=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Can't use string ("0") as a HASH ref while "strict refs" in use at get
    +sysinfo.pm line 109.
    
  2. or download this
     100 getsnmp result
     101 .1.3.6.1.2.1.1.1.0=>"router"
    ...
     $$myresult{mtssid}=BroadbandVI_5PrNE;
    Can't use string ("0") as a HASH ref while "strict refs" in use at get
    +sysinfo.pm line 109.
    
  3. or download this
    [john@scan ~]$ uname -a
    Linux scan.ackley.net 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:59 EST 20
    +07 i686 i686 i386 GNU/Linux
    [john@scan ~]$ perl -V
    Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://714185]
Approved by ww
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.