in reply to <> diamond Operator
Which part do you need help with? What have you tried? We're not going to do your homework for you.
<FILEHANDLE> and the special case <> are documented in the section "I/O Operators" of perlop