in reply to The Comma Operator
valid code, right? now how bout this?@a=(foo,bar,bah);
Again valid code, it doesn't do anything but it's valid and will get evalated. Code doesn't HAVE to do something. Now if you can also do(foo,bar,bah);
This will set @a to the return values of joe and someothersub, your doing the same thing with print@a=(joe(),someothersub());
or(joe(),someothersub());
This is also valid code, calls both functions puts their return values into a list, and then forgets the list.(print("hello"),print "\n");
|
|---|