iain truskett <[EMAIL PROTECTED]> writes:
: 
: Who here has actually used something other than a constant '1' in a
: package?

I have.

: If so, why? (Possibly cite the code.)

Because it's more aesthetic (and useful) for me to see:

  open '/afs/bp.ncsu.edu/path/to/no_such_file': No such file or directory
  NCSU/SomeModule.pm did not return a true value at ./make_lockers line 25.
  BEGIN failed--compilation aborted at ./make_lockers line 25.

rather than:

  open '/afs/bp.ncsu.edu/path/to/no_such_file': No such file or directory
  BEGIN failed--compilation aborted at ./make_lockers line 25.

especially if this is showing up in a cron message somewhere.  (I know
I could add the module name to the error, but I like letting perl do
it for me.  Less work for me.)


William

Reply via email to