P
Peng Yu
I want to use bash instead of sh because I need the process
substitution. But by default perl use sh instead of bash. Is there a
way to let perl use bash?
#!/usr/bin/perl
use warnings;
use strict;
open(IN, 'ls <(echo main.txt) |');
foreach (<IN>) {
print
}
substitution. But by default perl use sh instead of bash. Is there a
way to let perl use bash?
#!/usr/bin/perl
use warnings;
use strict;
open(IN, 'ls <(echo main.txt) |');
foreach (<IN>) {
}