1
0
mirror of synced 2026-01-24 19:11:59 +00:00

Make t/getopt.t parse '|' in GetOpt definitions

This commit is contained in:
Axel Beckert 2010-07-16 17:19:17 +02:00
parent 660569dffe
commit cc64623752

View File

@ -125,13 +125,18 @@ sub testFile
#
next if ( $o =~ /^[ \t]*$/ );
#
# Now split at pipe
#
foreach my $osplit (split(/\|/, $o)) {
#
# Phew. Now we're done.
#
# This option '$o' is something we call GetOptions with.
#
$accepted{$o} = 1;
#
# Phew. Now we're done.
#
# This option '$osplit' is something we call GetOptions with.
#
$accepted{$osplit} = 1;
}
}
}