>>>>> "MG" == Mark Galeck <[email protected]> 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  ------  [email protected]  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to