Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

(zdog) Re: Array question

by zdog (Priest)
on Jul 10, 2002 at 16:34 UTC ( #180789=note: print w/replies, xml ) Need Help??


in reply to Array question

Take a look at splice. In your case, you can do:

splice (@array, 2, 1);

Zenon Zabinski | zdog | zdog@perlmonk.org

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180789]
help
Chatterbox?
[pryrt]: Thus, that's "enough precision" to tell the difference between 1.0 and 1.0+1ULP
[pryrt]: But in what circumstance does your problem arise? When, in Perl, does the integer 1 not work identically to the floating-point NV 1.0000000000000000 e0?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2017-05-24 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?