One liner in Perl to show you Nikon camera shutter count

There are online sites you can upload camera images to which tell you your camera's shutter count. Most didn't seem to work for me with my D7100 - I never looked in to why. This oneliner in Perl will do it.
perl -le "use Image::ExifTool qw(:Public); my $info = ImageInfo($ARGV[0]); print $info->{ShutterCount};" xxx.jpg