Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Are pseudo-hashes worth the effort?

by autark (Friar)
on Dec 13, 2000 at 05:54 UTC ( [id://46369]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @a = (1,2,3); delete $a[1]
  2. or download this
    @a = (1,2,3);
    delete $a[1];
    print "($_)\n" for @a;
    
  3. or download this
    (1)
    ()
    (3)
    
  4. or download this
    @a = (1,2,3);
    delete $a[1];
    print "I'm ", exists $a[1] ? "here" : "gone";
    ...
    @b = (1,2,3);
    $b[1] = undef;
    print "I'm ", exists $b[1] ? "here" : "gone";
    
  5. or download this
    I'm gone
    I'm here
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://46369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-20 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found