http://www.perlmonks.org?node_id=177755


in reply to Good practice: Variable declaration

Yes, that's exactly how you're supposed to do it. :)

If you want to be really anal, you could always write

my $word = undef;

Which accomplishes the same thing.