medium85%
Missing Language.PERL separators and InMemoryCache maxsize update bug
Two bugs are reported: (1) The Language.PERL enum is defined but not handled in get_separators_for_language, causing a ValueError when using RecursiveCharacterTextSplitter.from_language(Language.PERL). (2) InMemoryCache.update() evicts the oldest entry even when updating an existing key while the cache is at maxsize, leading to unnecessary cache misses.
