You should really use some of the IRC modules instead of writing this yourself. For example if the remote server is very slow (or throttles you), your attempt of blockingly printing a whole line in one go will stall your whole client even if it's just one server that is slow.
But anyway, see print about how to print to any expression more complex than a simple scalar.
In reply to Re^3: Perl Simple IRC Client question
by Corion
in thread Perl Simple IRC Client question
by mlapaglia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |