SPUG: How can I find @1 - @2?

Jeremy Mates jmates at sial.org
Wed Jan 24 19:08:33 PST 2007


* Ken Clarke <kenslinux at shaw.ca>
> my %enrolled = map { $_ => 1} @enrolled;

# No map nor 1's floating around in memory.
my %enrolled; @enrolled{@enrolled} = ();


More information about the spug-list mailing list