This library allows to communicate with a smart card using PC/SC (Microsoft version or pcsc-lite for Unixes) from a Perl script.
The archive contains the Perl wrapper and sample codes.
See also the page for libpcsc-perl.