lusol@Turkey.CC.Lehigh.EDU
Re: scrolling multiple widgets
Re: scrolling multiple widgets
20 May 1996 12:52:08 GMT
Lehigh University Computing Center
- Newsgroups:
- comp.lang.perl.tk
- References:
- <4nkumr$f9q@nz12.rz.uni-karlsruhe.de> <4nmjd7$6pv@nz12.rz.uni-karlsruhe.de>
Joerg Obermiller wrote in article <4nmjd7$6pv@nz12.rz.uni-karlsruhe.de> :
>
>hi,
>I found my problem :-)
>
>>I want to have two or more widgets scrolled by one scrollbar. Yes I read
>>the FAQ :-) and tried that little example and it happens just nothing.
>>......
>>sub multiscrollx {
>> my ($sb,$wigs,@args) = @ARG;
>
>I wondered why perl didn't know @ARG. (I still do because it should be
>the command-line parameters.
>
>but if I use @_ instead, it works perfect!
Sorry about that, it's probably all my fault! (; You see, I always have a:
use English;
statement at the start of my programs. The English module equates legible
variable names with the standard Perl variables.
$_ $ARG
@_ @ARG
etcetera.