Help for this page

Select Code to Download


  1. or download this
    perl -e 'print scalar(()=<>),"\n"' filename
    
  2. or download this
    perl -pe "}{$_=$." filename
    
  3. or download this
    #!/your/perl/here -p
    }{$_=$.
    
  4. or download this
    #!/your/perl/here
    use strict;
    use warnings;
    while (<>) {}
    print "$.\n";
    
  5. or download this
    #!/your/perl/here
    use strict;
    ...
        close ARGV;
      }
    }