From: Appleton Brad-BRADAPP1 <[EMAIL PROTECTED]>
To: "'Steven W McDougall'" <[EMAIL PROTECTED]>
Subject: RE: :Usage bug
Date: Sun, 2 Dec 2001 21:09:59 -0600 

Thanks! I would recommend forwarding this to the pod-people mailing list as
I dont do much in the way of maintenance these days (Ive gone to the "dark
side" - management ;-)

-----Original Message-----
From: Steven W McDougall [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 02, 2001 5:41 PM
To: [EMAIL PROTECTED]
Subject: Pod::Usage bug


A 
  
       pod2usage(-verbose=>2)

call eventually descends to

       my $progpath = File::Spec->catfile($Config{bin}, "perldoc");
       system($progpath, $opts{"-input"});
     
However, I install Perl in my home directory, and $Config{bin}
evaluates to 

       ~/perl/bin

so the system call is

       system("~/perl/bin/perldoc", $opts{"-input"});
          
but system won't resolve `~', so the call fails.


- SWM

Reply via email to