Update C.pm
Merge pull request #3 from tony-o/patch-1

satisfy deprecation warnings