#!/usr/bin/perl use strict; my $input; local $/; $input = ; print $input; $input = ; print $input; #### #!/usr/bin/perl use strict; my $input; { local $/; $input = ; } print $input; $input = ; print $input; #### #!/usr/bin/perl use strict; my $holdRS = $/; local $/; my $input = ; $/ = $holdRS; print $input; my $holdRS = $/; local $/; my $input2 = ; $/ = $holdRS; print $input2; #### #!/usr/bin/perl use strict; my @userinput = ; foreach (@userinput) { print; } my @userinput = ; foreach (@userinput) { print; }