You didn't give us a lot of information. Here are some of my random thoughts on possible causes that i would check:
In reply to Re: Perl script works on Centos but not Ubuntu
by cavac
in thread Perl script works on Centos but not Ubuntu
by harryhendo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |