>>>>> "MG" == Mark Galeck <mark_galeck_spam_mag...@yahoo.com> writes:

  MG> If I can do this:
  MG> $ref = \...@foobar;
  MG> print @$ref;

  MG> then why can't I do this:

  MG> print @\...@foobar;

you can. but why do you want that? the answer is you need to use {}
around the reference. you can only use a plain sigil before a scalar
variable to dereference it. otherwise put the reference expression in {}
and prefix it with the proper sigil.

        print @{...@foo}

that works fine. but again, why do you want that?

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to