in reply to Is list member

Stringification is your friend. You can use double quotes to have any item thrown into string context. It won't matter if it's another string or not, such as:
#!/usr/bin/perl -w use strict; my @stuff = ("foo", 1, "3", "5", 8, "jerk", "bummer"); my $test = "1"; foreach(@stuff){ print "Found!\n" if ("$test" eq "$_"); }
Note tossing $test and $_ into strings solves all sorts of internal numerical <=> issues. I think it always comes up with the same string that you'd get as if you print'ed it. However, if you're looking for numerical equivalency (ie, you're passing in things like "0e0" and expecting it to match to it's equivalent), then you're probably out of luck. This is for ultra simple data sets. Just another way of thinking about it...

    --jb