ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
$tmp[3] =~ s/^\[|\]$//g; foreach ( split /,/, $tmp[3]) { my $ext = (reverse split /\./, $_)[0]; my $fname = "/home/user/public_html/cgi-bin/links/admin/IMPORT/tmp +_images/" . CORE::time() . random_string() . ".$ext"; `wget --quiet -O $fname "$fname" "$_"`; $hit->{"Image$images_count"} = GT::SQL::File->open($fname); $images_count++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Quicker way to batch grab images?
by davido (Cardinal) on Feb 12, 2014 at 16:37 UTC | |
by Anonymous Monk on Feb 13, 2014 at 03:17 UTC | |
|
Re: Quicker way to batch grab images?
by Laurent_R (Canon) on Feb 12, 2014 at 18:37 UTC | |
|
Re: Quicker way to batch grab images?
by stonecolddevin (Parson) on Feb 17, 2014 at 22:03 UTC |