Basic HTML version of Foils prepared
April 16,1996
Foil 36 splice function in Perl
From
Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 Material --
April 16,1996
.
by
Geoffrey C. Fox
1
splice ARRAY,OFFSET,LENGTH,LIST
2
remove LENGTH elements starting at position OFFSET in ARRAY and replace by elements ( if any) in LIST
3
shift(@a) is equivalent to splice(@a,0,1)
in Table To:
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Sat Sep 6 1997