#!/usr/bin/perl -w use strict; my $foo_text = ''; $foo_text .= $_ while (<DATA>); print "$foo_text\n"; __DATA__ foo wears foo shoes at the foo store.
- Ant
- Some of my best work - Fish Dinner
In reply to Re: while modifier
by suaveant
in thread while modifier
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |