http://www.perlmonks.org?node_id=15488


in reply to RE: Get chatbox lines
in thread Get chatbox lines

The problem with this (now that I have tested it well) is that it enlarges the array when it is originally smaller than the limit. splice doesn't do that. Any ideas? Thanks,

--ZZamboni

Replies are listed 'Best First'.
RE: RE: RE: Get chatbox lines
by mdillon (Priest) on May 30, 2000 at 23:34 UTC
    not besides just appending 'if @$cache > $CACHE_LIMIT';