[comp.lang.perl] how to toss nulls?

ade@clark.edu (Adrian Miranda) (07/31/90)

I have a program which reads in a file, which may contain nulls.
I would like to strip the nulls out.  How do I do I do this?
I have tried:

s/\000//;

but apparently there is something wrong with this?
It is probably best to email your reply, as I am sure this is obvious.

Adrian Miranda
uunet!clark!ade  or   ade@clark.edu