Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: making my script work with vi

by gmax (Abbot)
on Jul 15, 2004 at 18:18 UTC ( [id://374768] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            print "$_\n";
        }
    }
    
  2. or download this
    :1,$ perldo s/^/#/ unless -e $_