On Oct 18, HENRY,MARK (HP-Roseville,ex1) said: >Huh, so pointers with the purpose of modifying the original data are not >necessary in perl? > >Why then would you use references (apart from the performance of passing >large amounts of data by value)? > >For larger & more data structures?
It's better to send an array reference than an array, especially for large arrays. Also, sometimes it's necessary: foo(\@x, \@y, \%z); -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]