in reply to SOLVED:how to assign 'system' to a value, and eval it.

consider the difference between
'system'($whatever); 'myrun'($whatever);
and
system($whatever); myrun($whatever);

Replies are listed 'Best First'.
Re^2: how to assign 'system' to a value, and eval it.
by vincentaxhe (Scribe) on Jun 09, 2024 at 17:15 UTC
    yeah, perl did not try to '$command xxx' like bash do. that's a good behavior.