YAPC::2004::Israel | << Previous | Index | Next >> | Copyright © 2004 Gaal Yahas |
But wait! What if we already had $_ defined?
Nesting these expressions: dangerous?
continued...
while (<>) {
if (my ($trusted) = /trusted_users = (.*)/x) {
foreach (split /,/, $trusted) {
$current_user->register_trust($_);
}
}
# some more handling: what happens to $_?
}