>>>>> "Brett" == Brett W McCoy <[EMAIL PROTECTED]> writes:

Brett> On Wed, 3 Oct 2001, Mason, Andrew wrote:
>> Say I have an array @array = ( 1, 2, 3, 4, 5)
>> 
>> I know I want to remove the second value, $array[2].  How should I do
>> this?

Brett> Take a look at the perldoc for 'split'.  It does what you want to do.

And after you've looked at that, and decided that Brett made a typo,
you can look at "splice" too, and decide *that's* what Brett meant. :)

I know, I've had that same brain-o. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to