Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Scrapper outputing error -w

by parkprimus (Sexton)
on Apr 11, 2011 at 13:41 UTC ( [id://898705] : perlquestion . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl
    ...
            $content = get('http://example.com/test.html');
    
    ....truncated
    
  2. or download this
    #!/usr/bin/perl -w
    use LWP::Simple;
    ...
            $content = get('http://example.com/$device');
    
    ...truncated
    
  3. or download this
    Use of uninitialized value in substr at /usr/lib/perl5/HTML/PullParser
    +.pm line 80.
    Use of uninitialized value in length at /usr/lib/perl5/HTML/PullParser
    +.pm line 83.
    
  4. or download this
    Use of uninitialized value in substr at /usr/lib/perl5/HTML/PullParser
    +.pm line 80.
     at /usr/lib/perl5/HTML/PullParser.pm line 80
    ...
            main::switch_properties called at switchmapHTMLTEST1.pl line 2
    +8
            main::get_index called at switchmapHTMLTEST1.pl line 19