DreamT has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl my @AllColumns; push @AllColumns, "Property1"; push @AllColumns, "Property2"; print "Lap 1:\n"; foreach my $Column (@AllColumns) { print "$Column? : "; if ((($Column =~ m/Property/gs))) { print $Column."\n"; } } print "\n\nLap 2:\n"; foreach my $Column (@AllColumns) { print "$Column? : "; if ((($Column =~ m/Property/gs))) { print $Column."\n"; } } 1;
|
|---|