chomp(@html = get($url)); #### while(@html) { #parse code here }