B
beartiger
....are not allowed.
The way I get around it is:
==========================================================================
use strict;
use warnings;
my @files=glob("*gif");
foreach my $file (@files)
{
$file=~s/\.gif//g;
my $line="system('\"c:/Program Files/HyperSnap-DX 5/HprSnap5.exe\"
-open:$file.gif -saveng $file.png')";
open(INFO, ">temp.pl");
print INFO $line;
close(INFO);
system('perl temp.pl');
}
unlink "temp.pl";
==========================================================================
What is the elegant way?
John
The way I get around it is:
==========================================================================
use strict;
use warnings;
my @files=glob("*gif");
foreach my $file (@files)
{
$file=~s/\.gif//g;
my $line="system('\"c:/Program Files/HyperSnap-DX 5/HprSnap5.exe\"
-open:$file.gif -saveng $file.png')";
open(INFO, ">temp.pl");
print INFO $line;
close(INFO);
system('perl temp.pl');
}
unlink "temp.pl";
==========================================================================
What is the elegant way?
John