use strict; use vars qw($DATA); use Inline::Files; open DATA or die $!; chomp ($_ = <DATA>); close DATA or die $!; print "you have run this script @{[++$_]} times\n"; open DATA, ">$DATA" or die $!; print DATA $_; close DATA or die $!; __DATA__ 0
jeffa
you have run this script 1 times? grammar shmammar ;)In reply to (jeffa) 2Re: Getting data *INTO* __DATA_
by jeffa
in thread Getting data *INTO* __DATA_
by Zucan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |