On Wed, Jan 23, 2002 at 02:39:54PM -0500, Weifeng Wang wrote: > Hi There, > > Thank you very much for all the responses on my previous question on > installation of libwww module. It looks like that it is hard to compile a > module without cc compiler when the original Perl was built with cc.
It's not hard to build Perl with gcc on Solaris, it just takes a little time, mainly to fill out all the configure questions it asks even when the defaults are OK. [...] > $URL1 = > >"ftp\:\/\/ncbi.nlm.nih.gov\/genomes\/H\_sapiens\/CHR\_".$CM1."\/hs\_chr".$CM."\.gbs\.gz"; This is the same as $URL1="ftp://ncbi.nlm.nih.gov/genomes/H_sapiens/CHR_$CM1/hs_chr$CM.gbs.gz" > $filename1 ="\/home\/share\/hs_chr".$CM."\.gbs\.gz"; This is the same as $filename1 = "/home/share/hs_chr$CM.gbs.gz"; > open (out1, ">$filename1") or die; Does this leave output in $filename1? > print ("$URL1\n"); > getstore ($URL1, $filename1); Try $rc = getstore ($URL1, $filename1); and see if $rc is 200. -- Reinier
