When invoking the cgi script in the web server, this happens:
Can't locate object method "FILENO" via package "CGI::Capture::TieSTDIN" at C:/Perl64/lib/CGI.pm line 815.
Using Windows 7 Ultimate, Apache/2.2.22 (Win32), and Active State Perl 5.16.2, and CGI 3.60.
#!perl
use warnings;
use strict;
use lib "C:/Users/User/workspace/StockImages/lib";
use CGI::Carp qw/fatalsToBrowser/;
use Carp qw( croak );
use File::ShareDir qw( dist_dir );
use File::Spec qw ();
use Try::Tiny;
use Data::HTMLDumper;
use CGI::Capture 'query.dat';