in reply to Easy script question

!#perl -w

your shebang was inverted. should be

#!perl -w

Replies are listed 'Best First'.
Re^2: Easy script question
by sgardner (Initiate) on Mar 01, 2018 at 17:30 UTC
    Thank you!
      Oh, I'm so glad to know that I'm not the only person in this world who has actually done that. ("D'oh!")