Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Sorry, but I can't resist golfing^Wtinkering with shell scripts...

      #!/usr/local/bin/bash

      [ $# == 0 ] && set -- -l t/
      exec /usr/local/bin/prove "$@"

    $# is $#ARGV, more or less. Also, it's always better to use "$@" instead of $* because one day, you'll feed that sucker a filename with a space in. And it won't break with the former.

    -Dom