in reply to lines written to stdout by a backtick command
Generally, if a piece of perl code should run subordinate to another then it belongs best as a subroutine in a module -- that is to say a module you maintain specifically for your applications, as opposed to a CPAN module.my $memout = `chcp`; $memout =~ /(\d+)/; print STDERR "Detected code page $1 ... continuing\n";
One world, one people
|
|---|