Learning ColdFusion 9: Implicit Struct And Array Usage

<!--- Create a girls array with two entries. --->
<cfset girls = [
	{
		name = "Tricia",
		hair = "Brown"
	},
	{
		name = "Joanna",
		hair = "Dark Brown"
	}
	] />
 
<!---
	Set girls array to be a new array containing the first
	element of the previous girls array assignment. In
	ColdFusion 8 this would throw an erro because the left
	side of stetement would be incorrectly evaludated first,
	rendering the right side no longer useful.
--->
<cfset girls = [ girls[ 1 ] ] />
 
<!--- Output the new array. --->
<cfdump
	var="#girls#"
	label="Girls (Reassigned)"
	/>

For Cut-and-Paste