In 5.00503 the mask argument was required, not optional. It became optional in 5.6.
What version of perl is running on the server? If it is 5.00503, perldoc.com has the docs available online. A good read of 5.6's perldelta should be quite useful.
HTH
Comment on Re: Re: Re: Re: Re: Too little biggy problems