in reply to Use of uninitialized value message?

$x =~ s/'s\z//;

This resets $1. Did you mean

exists $dict{ lc( $x ) } ? $x : "<@>$x";

Replies are listed 'Best First'.
Re^2: Use of uninitialized value message?
by jwkrahn (Abbot) on Aug 24, 2024 at 20:21 UTC

    Thanks for the reply. Will try it out today.

    Naked blocks are fun! -- Randal L. Schwartz, Perl hacker