From: Ashley M. K. <as...@pc...> - 2003-03-31 17:30:39
|
L3ECH wrote: >i'm running ids-0.82 on linux debian unstable. >i'm having a problem with ids' search feature. it doesn't work at all. the error message i get is: > >Software error: >Can't use string ("1") as a subroutine ref while "strict refs" in use at /usr/share/perl/5.8.0/File/Find.pm line 1025. > >i don't know if it's an ids bug, a perl bug, or both. i believe it's probably because i running perl 5.8.0 > It's a programmer error. I forgot a \ somewhere: In index.cgi, search and find: find ({wanted => &searchForFiles, follow_fast=>1}, "./albums/"); And change it to: find ({wanted => \&searchForFiles, follow_fast=>1}, "./albums/"); (note the slash) -- Funny, I'm actually working on CVS right now too... -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:as...@pc...> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. |