Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.lang.perl Subject: sh: foo=${bar-baz}; perl: ($foo = $bar) =~ s/^$/baz/; Message-ID: <7195@star.cs.vu.nl> Date: 30 Jul 90 22:40:46 GMT Sender: news@cs.vu.nl Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Dept. of Computer Science, Amsterdam, The Netherlands Lines: 5 Anything better? Remember, the variables could have looooooooong names you rather wouldn't retype. -- "and with a sudden plop it lands on usenet. what is it? omigosh, it must[...] be a new user! quick kill it before it multiplies!" (Loren J. Miller)