Question: Perl Language please: In shell scripting, a command substitution can be used to store the result of a linux command. For example, the following stores

Perl Language please:

In shell scripting, a command substitution can be used to store the result of a linux command. For example, the following stores the result of linux pwd command: dir=`pwd`

How do you do this in Perl programming?

Selected Answer:

$variable = 'command';

Answer was marked wrong, can somebody please help me get correct answer?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!