A program that reads data into an array and writes the array. : Array Definition « Array « Perl
- Perl
- Array
- Array Definition
A program that reads data into an array and writes the array.
#!/usr/local/bin/perl
@array = <STDIN>;
print (@array);
Related examples in the same category