in reply to Not getting form data from stdin

In addition to what hippo said about @in and %in, if you check $in, you for sure won't get anything because it is yet another variable.