- or download this
open (DATA, "< C:/Perl_Scripts/InputFile.txt");
- or download this
open my $DATA, '<', 'C:/Perl_Scripts/InputFile.txt' or die "Cannot ope
+n 'C:/Perl_Scripts/InputFile.txt' because: $!";
- or download this
my @array_of_data = <DATA>;
close (DATA);
foreach my $line (@array_of_data)
{
- or download this
while ( my $line = <$DATA> ) {
- or download this
if ( $line =~ m/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\.csv$/g )
{
print "Match $1";
}