
maneshmotts
Novice
Sep 26, 2012, 11:50 PM
Post #1 of 4
(2662 views)
|
Help solving an error" readline() on closed filehandle"
|
Can't Post
|
|
HI , I using a file handler to copy it into an array, but I am getting an error.readline() on closed filehandle FILE
#!usr/bin/perl use strict; use warnings; open(FILE,"<input.txt"); my @number; while(<FILE>){ @number = <FILE>; } print @number; close(FILE);
|