I am running the code below. I want to flip the file passed in Slide_name. The mogrify command between the backticks looks correct to me, but it doesn't seem to do anything. What am I doing wrong? Appreciate any suggestions...
#!/usr/bin/perl -w
use strict;
use warnings;
use Image::Magick;
use CGI::Carp qw(fatalsToBrowser);
use CGI::Pretty;
use CGI qw(:standard :cgi-lib -debug fatalsToBrowser warningsToBrowser
+);
my $cgi = new CGI;
print $cgi->header;
print start_html;
my $slide_name = "../".param('slide_name');
print "$slide_name",br;
print img({-src=>"$slide_name"}),br;
`/usr/bin/mogrify -flip $slide_name`;
print img({-src=>"$slide_name"}),br;
#print redirect(referer());
print end_html;