Re: Another silly newbie question



Matthew Weier OPhinney said:
Note, too, that the proper format in gtk2-perl is to use:

    signal => coderef

instead of

    signal, coderef

actually, the arrow operator is magical shorthand for the comma which also
stringifies its left operator.  we use it because it looks a little nicer and
keeps you from having to put quotes all over the place.

  foo => $something

is the same as

  'foo', $something

i think this is described in the perlop manpage.

-- 
muppet <scott at asofyet dot org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]