# qx operator
can_ok( 'main', "qx" );
eval "qx('unqualified')";
-TODO: {
- local $TODO = $^O eq 'MSWin32' ? "Tainting of PATH not working of Windows" : $TODO;
- like( $@, qr/^Insecure/, "qx('unqualified') doesn't work" );
+SKIP: {
+ skip("external command not portable on VMS", 1) if $^O eq 'VMS';
+ TODO: {
+ local $TODO = $^O eq 'MSWin32' ? "Tainting of PATH not working of Windows" : $TODO;
+ like( $@, qr/^Insecure/, "qx('unqualified') doesn't work" );
+ }
}
is( main::qx('main'), "qx-main", "main::qx() is func" );
is( &qx('amper'), "qx-amper", "&qx() is func" );