[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] problem with "my"



On 04 Apr 2000 01:44:10 PDT, Nicholas G. Thornton wrote:

>     my $$window_pane = new Mac::TextViewPane ( Font => Monaco, Size => 9, Text
         ^^
>=> $_[1] );
># [...]
>}
>###
># Can't declare scalar deref in my, near "$window_pane ="

Replace the double dollar sign with just one.

Unless, of course, $window_pane is already declared and used and set as
a scalar reference. Then, loose the "my".

-- 
	Bart.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org