in reply to Reading from file, not to memory
The bad Thing about this way is, that again the whole File goes into memory if the $external_info is not in the File...$/="$external_info"; open(FH, "/path/to/file") || die "Can't open file: $!"; while (<FH>) { if length($_) != (stat FH)[7]) { print "great\n"; last; } }
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|