[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $cons{LIBS} and dependencies
From: |
Wayne Scott |
Subject: |
Re: $cons{LIBS} and dependencies |
Date: |
Fri, 27 Apr 2001 15:46:17 -0700 |
From: Doug Alcorn <address@hidden>
> ${$CONS}{LIBPATH} .= "$EXPORT/libs";
> ${$CONS}{LIBS} .= "-lfoo -lbar -lbaz";
Unless I am mistaken, this is not a legal way of setting variables in
a CONS enviroment. You need to use the 'new' or 'clone' constructors.
They take care of updating the hidden state.
Unfortunatly perl can't mark that data as private...
-Wayne