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

Is undef list assignment a no-op?

by repellent (Priest)
on Mar 25, 2011 at 06:02 UTC ( [id://895401]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo {
        my (undef, $x) = @_;
    ...
    my $big = 'a' x 99999999;
    
    foo($big, 'bar');
    
  2. or download this
    $ perl -MO=Concise -e '(undef) = $x'
    8  <@> leave[1 ref] vKP/REFC ->(end)
    ...
    -           <1> ex-rv2sv sKPRM*/1 ->-
    6              <$> gvsv(*y) s ->7
    -e syntax OK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found