@warewan = @john = @ken = @hanako = (1..6)

@warewan pop shift 2 3 4 5

shift‚̐”@1

@john1 2 3 4 5 6

@john1 =(a,b,@john,7,8)push‚Ζ shift‚Μ“­‚«-a b 1 2 3 4 5 6 7 8

$jo@—v‘f” = @john110

($joh)= @john1@Ε‰‚Μ—v‘fa

$john1[0]@Ε‰‚Μ—v‘fa

6”ԖڂɁAken‚π“ό‚κ@$D‚Ɂ@Ε‰‚Μ—v‘f‚π“n‚΅A3”ԖڂɁA3ƒvƒ‰ƒX
reverse‚Ζ“―‚Ά“­‚«‚π‚΅‚ΔAsort‚ŁA•ΐ‚Ρ‘Φ‚¦‚½B–³‘Κ‚ͺ‚ ‚ι‚―‚ǁB

@ken@ken 5 7 3 2

$E = @ken[$A-1] Ε‰‚Μ—v‘f -ken

@hantai@2 3 7 5 ken

@sort@2 3 5 7 ken

@Q chop -waeawa

‚ά‚Ζ‚ί‚ͺAˆ«‚’BŽžŠΤΨ‚κI ‰‰ŽZŽq‚ζ‚θA”z—ρ‚Μΰ–Ύ‚ͺA‚ΰ‚€­‚΅‘«‚θ‚Θ‚’B

$‚Μ‘O‚ɁAƒXƒy[ƒX“ό‚κ‚ι‚Ƃ́@ˆα‚€ˆΣ–‘‚Ι‚Θ‚ιB‚Θ‚ρ‚Ύ‚Α‚―H