- or download this
my $param = "$ARGV[0]";
- or download this
my ($param,$dir,$newWidth,$newHeight,$newQuality)= @ARGV;
- or download this
my @tmp = split(/\\/,$0);
my $name = $tmp[-1];
- or download this
croak "Wrong number of parameters at" unless @_ == 3;
- or download this
my ($file, $newWidth, $newHeight) = @_;
- or download this
open(JPEG,">new$file")
- or download this
if ( $_[3] ) { $quality = $_[3] if ( $_[3] =~ /[1..100]/ ) ; } - or download this
if (-f $dir) { changesize ($dir ... }
else { # do the loop
- or download this
my @onlyFiles= grep {{-f "$dir/$_" and /jpe?g$/} readdir(DIR);