Are you aware what <STDIN> does? It waits for input (and reads it). Which, quite unsurprisingly, matches your (bad, vague) error description.
In reply to Re^5: filename of an attachment
by Corion
in thread filename of an attachment
by Bass-Fighter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |