Link to home
Start Free TrialLog in
Avatar of hank1
hank1

asked on

while(!<>) verses until($_=<>)

(In "Gory Details")

Shouldn't these two whiles operate
identically?

  while(!<>) {
    print;        # echos ^Zs to the screen
  }

  until($_=<>) {
    print;        # echos only the newline
  }
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial