- or download this
if ( $sFunction =~ /test1/ ) {
# ...
...
if ( $sFunction =~ /test2/ ) {
# ...
}
- or download this
if ( $sFunction =~ /test1/ || $sFunction =~ /test2/ ) {
# ...
...
# ...
}
}
- or download this
if ( my ($num) = $sFunction =~ /test([12])/ ) {
# ...
...
# ...
}
}