Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: The weirdest problem with undef

by dirac (Beadle)
on Dec 22, 2004 at 15:19 UTC ( [id://416792]=note: print w/replies, xml ) Need Help??


in reply to The weirdest problem with undef

... and if you try with:
for my $mode (@probe_modes) {
   local (@source,@destination);
   create_map_file $mode;
   get_elements; # @source and @destination are filled here
   scan_matrix $mode;
   @source =();
   @destination =();
}

Replies are listed 'Best First'.
Re^2: The weirdest problem with undef
by insaniac (Friar) on Dec 22, 2004 at 15:39 UTC
    :-D you're about to be spanked! read previous replies above...
    --
    to ask a question is a moment of shame
    to remain ignorant is a lifelong shame
Re^2: The weirdest problem with undef
by blazar (Canon) on Jun 28, 2005 at 10:15 UTC
    Which is a quick hack the OP indeed had already found himself. Still it is nothing but byzantine logic to avoid what parameter passing is exactly for.

    Ciao ciao!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-03-19 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found