[sf-perl] Running a perl script as a service

David Alban extasia at extasia.org
Fri Jan 11 13:12:36 PST 2008


you might consider:

  use File::Glob qw( bsd_glob );
  my $home = bsd_glob( '~doom' );

would make it a little more portable if ~doom isn't the same everywhere.

On Jan 11, 2008 1:03 PM, Joe Brenner <doom at kzsu.stanford.edu> wrote:
> my $home = "/home/doom";  # Can't use $HOME: becomes "/root" when you're root.

-- 
Live in a world of your own, but always welcome visitors.


More information about the SanFrancisco-pm mailing list