ok.. i was adding something to nph-build.cgi (just an easy detailed pages for certain category mod).. i decided to use a array for the categories that were to be detailed..
so i was thinking the way i always think to do it.. but i saw in add.cgi it being used like this
blah..
foreach (@Links::db_referers) {
so i was like.. OK.. alex did it.. i guess i'll do it
but then it didn't even go through the loop.. i was sure i had a value in there..
so i changed it to look like
@{$LINKS{db_referers}}
then it started to work..
just wondering.. is that a bug?
jerry
so i was thinking the way i always think to do it.. but i saw in add.cgi it being used like this
Code:
if (@Links::db_referers ... blah) blah..
foreach (@Links::db_referers) {
so i was like.. OK.. alex did it.. i guess i'll do it
but then it didn't even go through the loop.. i was sure i had a value in there..
so i changed it to look like
@{$LINKS{db_referers}}
then it started to work..
just wondering.. is that a bug?
jerry