[PBP-pm] what's the correct way to do eval

Fayland Lam fayland at gmail.com
Mon Dec 24 19:16:34 PST 2007


have to replace this:

my $has_proc_pid_file = eval "use Proc::PID::File; 1;";

it complaints Expression form of "eval" at line 7, column 25. See page 
161 of PBP.

Thanks.

-- 
Fayland Lam // http://www.fayland.org/ 
Foorum based on Catalyst // http://www.foorumbbs.com/ 



More information about the PBP-pm mailing list