perl and stdin

wnowak1

Registered
i'm writing a script that will accept input from user in perl.

I'm having dificulty accepting multi-line text at the command line. Only the first sentence is stored, the rest is ignored. Since I'm new to perl, I'd greatly appreciate it if someone could help me.

I was thinking about reading from STDIN into an array until the esc key is pressed, but having difficulty with that as well...

Thanks
 
Back
Top