Mark J. Reed wrote:
> On 7/18/07, Martin Costabel <[EMAIL PROTECTED]> wrote:
>> Looks like a typo in perlmod/Fink/VirtPackage.pm in the line
>>
>>         if (open(SYSCTL, 'sysctl -a')) {
>>
>> Shouldn't there be a pipe '|' after the command? Of course, I don't
>> speak perl as well as RR who wrote this, but my "man perlopentut" says
>> so :-)
> 
> Yup.  Without the pipe it looks for a file named "sysctl -a".  Not
> finding it, the open fails and the body of the if doesn't run.  Is
> there an else block?

No, but when the if block is actually executed, it is not a pretty sight 
either...

Our perl gurus will sort this out quickly, I'm sure.

-- 
Martin



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to