Try:
my $code; if (/^\[CODE/) { #Grab the next line from <input> $code=<input>; #Don't forget to chomp $code; }
Later
In reply to Re: reading an input file
by pzbagel
in thread reading an input file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |