in reply to Re: Format file
in thread Format file

Just to clarify, except for the leading sigil ($,@,%, etc.), variable names may only consist of alphanumerics or an underscore. The first character must not be a numeric.

You will see certain special variables which break this rule (see perlvar) but these are used to control, or get information about, perl behaviour. You cannot create them yourself.