Task

Demonstrate a language's methods of:

   variable declaration
   initialization
   assignment
   datatypes
   scope 
   referencing,     and 
   other variable related facilities


sub dofruit {
  $fruit='apple';
}
 
dofruit; 
print "The fruit is $fruit";