in reply to Re^5: How to extract links from a webpage and store them in a mysql database
in thread How to extract links from a webpage and store them in a mysql database

hello wish u a happy new year thanks for the help !!! just want to ask when i set the $max depth variable to 3 or 2 it gives me the same output.
  • Comment on Re^6: How to extract links from a webpage and store them in a mysql database

Replies are listed 'Best First'.
Re^7: How to extract links from a webpage and store them in a mysql database
by chargrill (Parson) on Jan 04, 2007 at 21:31 UTC

    Do you have links 3 deep?



    --chargrill
    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
      I cant really find that out whether i have links extracted to depth level of three while when i set the value of $max_depth to 3 or 2 i get the same output.
Re^7: How to extract links from a webpage and store them in a mysql database
by Anonymous Monk on Jun 04, 2007 at 12:58 UTC
    use WWW::Mechanize; module ...