[mythtv-users] FaceBook Status Updates in MythTV

Johan Venter mythtv at vulturest.com
Mon Dec 15 06:10:00 UTC 2008


Johan Venter wrote:
>> I wasn't sure if it would interpret the ~/ correctly and I didn't want  
>> to hardcode a location. Does it?
> Also works, but not sure how portable that is. Maybe something like:

Oops hit send too soon! I was going to suggest something like this:

my $home = $ENV{HOME} || (getpwuid($<))[7];

which seems to work on my machines here. YMMV :)

Johan


More information about the mythtv-users mailing list