in reply to
making my script work with vi
Disclaimer: I'm kinda new at this. Comment: Maybe this is going on because your script is expecting a filename as a command line argument. See if the script works while reading from STDIN instead/as well ..?
Comment on
Re: making my script work with vi
In Section
Seekers of Perl Wisdom