- or download this
#!/usr/bin/perl
while(<>) {
...
#just to do something as an example...
print "$_ \n";
}
- or download this
#1st Example
a #input (a)
...
ba #input and output
c #input (c)
bc #output and output
- or download this
a #input
a #output
...
b #continuing
a #output
b #without pressing enter again