How could I affect the system function return value to a scalar?

Like if i do this

$folder="/home/user/data"
system "du -s $folder" # How could i get this return value into a scalar


Thank you for your answer.

S