names.txt contents are: I am going home. When are you leaving? Any feedback will be appreciated. Ostra#!/usr/bin/perl -w use strict; my $input=''; my @raw=(); while(defined ($input=<>)){ chomp($input); @raw=$input; } print "@raw\n";
Code tags added by GrandFather
In reply to Re^5: Input files <>
by Anonymous Monk
in thread Input files <>
by ostra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |