http://qs321.pair.com?node_id=726709

renegadex has asked for the wisdom of the Perl Monks concerning the following question:

hi! how do I get the output of commands returned by the system('') command? For example..
system('eject -n')
this should return something like this...
eject: device is `/dev/sr0'
I wanted to get the output eject: device is `/dev/sr0' and place it inside a variable.. how do I do that?
Mabuhay Civil Engineers! :D