|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Atomic operations in perl and Tk::IOby hiseldl (Priest) |
| on Apr 01, 2003 at 15:03 UTC ( #247248=note: print w/ replies, xml ) | Need Help?? |
|
Update: <homer_simpson_voice>DOH! cloooosures</homer_simpson_voice> In your call to component_window(), you assign $pcrh and $pid a la
my ($prch,$pid) = @_; because $_[0] is the same as $prch when you call tail_lines($prch, $_[0]), and this seems to be not what you want. You should be able to either pass the third element directly or get the third element in a var at the top of your sub (i.e. and pass that...
--
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||