in reply to How do I capture large output in a perl variable
Only part of the output of the command is captured in the variable when the output is large (i.e, when output size is greater than 0.1Mb).This is quite trivial to test and disprove
my $bigstuff = `$^X -e'print 1x(1024*1024)' `; print length $bigstuff,$/; print $bigstuff,$/; __END__
|
|---|