in reply to Net::IRC Auto-OP

You've told us more about what we shouldn't tell you then about what we should :-). For example, you didn't tell us what happens when you try what you've shown - is there an error message? nothing? somtehing unexpected? I assume you've tried printing out $comm->{channel} and $nick just before send $conn->privmsg() and they hold what you expect?