>Parseable::new, pckg= 'main{}' >URL::Fetchable::new ## >=entering function... >URL::Cacheable::new >URL::new, pkg='main' (SET) storage_path="cache" storage_path=cache host =~ m{($pkg_host_mask)}) [0]; (output (death): Use of uninitialized value $URL::Cacheable::pkg_host_mask in regexp compilation at ./crawl.pl line 385. at ./crawl.pl line 385. ### I print it out on the line before and it has the value shown -- a nice "regex"... then the next line a crash claiming it wasn't set?? HOW? FWIW, I also have printed out 'host' and it is it's expected sitename value. Rest of error is just unwinding the call stack which pretty much mirrors the ">" entrylines above. URL::Cacheable::host_base('main=HASH(0x1be4338)') called at ./crawl.pl line 397 URL::Cacheable::host_path('main=HASH(0x1be4338)') called at ./crawl.pl line 407 URL::Cacheable::save_path('main=HASH(0x1be4338)') called at ./crawl.pl line 440 URL::Cacheable::localized_link('main=HASH(0x1be4338)') called at ./crawl.pl line 490 URL::Cacheable::new_URL_Cacheable('main=HASH(0x1be4338)', 'HASH(0x1be7b30)') called at ./crawl.pl line 666 URL::Fetchable::new_URL_Fetchable('main=HASH(0x1be4338)', 'HASH(0x1be7b30)') called at ./crawl.pl line 1235 Parseable::new_Parseable('main=HASH(0x1be4338)', 'HASH(0x1be7b30)') called at ./crawl.pl line 1389