$a = ; # This is one way of how you read user input print $a, "\n"; # This is one way of printing to stdout #### while(my $line = <>) { # reads from stdin print $line; # prints everything to stdout } #### `vim $some_file`;