Write a Perl subroutine, referenceTypeExample, to demonstrate your understanding of Perl’s reference type:
Create an integer variable “theInt” which is set to 42.
Create an alias for the theInt
Using the alias, increase the value of the integer variable by one
Print out the value of theInt (it should be 43)
Print out the value of the alias
Print out the value of theInt using the the alias
This question was asked on May 19, 2010 and answered on May 19, 2010.
Recently Asked Questions
- time frame is for a hazardous materials incident? Why would it be that amount of time compared to an incident such as a wildland fire?
- Can you help me in describing the business model of Bombardier, in terms of customer value, profit model, and critical resources?
- Please refer to the attachment to answer this question. This question was created from BUS 5110 Discussion 4.pdf. Additional comments: "Can i please get