in reply to Re^4: filename of an attachment
in thread filename of an attachment

Are you aware what <STDIN> does? It waits for input (and reads it). Which, quite unsurprisingly, matches your (bad, vague) error description.

Replies are listed 'Best First'.
Re^6: filename of an attachment
by Bass-Fighter (Beadle) on Dec 08, 2008 at 13:49 UTC
    I give it an input. I know that for shore, the rest does what I want, only the filename of the attachment doesnt. but do you know a right code to let this work?