>>>>> "SO" == S O <shogu...@gmail.com> writes:

  SO> sorry guys i apologize for this question,
  SO> how come when writing a program that these are not equivalent:

  SO> @files = readdir(D);

  SO> vs

  SO> readdir(D) = @files;

my question is why would you think they are the same? your same question
can be asked about $x = $y vs $y = $x. do you know what = means in perl
(and almost all common programming languages)?

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