What is the difference between $message and $$message?
Main difference between $message and $$message is that former is a simple variable and later is a reference variable. $message is a variable with a fixed name and it comprises a fixed value. $$messages comprise the variable itself.