Yes it is a bit confusing :)
hence all the tension..., my fault I apologize

The original idea was this:

 I have a few items, $foo, @bar, %baz, and FH (via open())
 I could (and yes, probably should ;p ) do:
  undef $foo;
  undef @bar;
  undef %baz;
  close FH;

What I'd like to do is accomplish that by passing references to those things to a kill function:

killanything(\$foo,[EMAIL PROTECTED],\%bah,\*FH);

of course if one was wise enough to figure you'd need to undef somethign right then, they might as well just undef $whatever; or close or whatever they need, instead (I beleive that is what Wiggins is saying, no?)

Thanks for your input guys :)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to