- or download this
open (EVENTS_FILE, 't1Vevents.txt');
- or download this
open EVENTS_FILE, '<', 't1Vevents.txt' or die "Cannot open 't1Vevents.
+txt' $!";
- or download this
@EVENT_ARRAY = <EVENTS_FILE>;
- or download this
chomp( my @EVENT_ARRAY = <EVENTS_FILE> );
- or download this
foreach $event_line (@EVENT_ARRAY)
{
chomp;
- or download this
foreach my $event_line ( @EVENT_ARRAY )
{
chomp $event_line;
- or download this
if ($event_line =~ m/\s*d1/i)
- or download this
@array = (@array,$d1_value,$d2_value);
- or download this
push @array, $d1_value, $d2_value;
- or download this
use warnings;
use strict;
...
print @array;