Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!bobg+ From: bobg+@andrew.cmu.edu (Robert Steven Glickstein) Newsgroups: comp.lang.perl Subject: Perl beginner Message-ID: Date: 29 May 91 01:26:35 GMT Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA Lines: 23 I'm a Perl beginner, but I'm amazed by how quickly I've picked up the language and how quickly I've been able to write really complex utilities. To an experienced C programmer like myself, Perl came very naturally and it is now my prototype/utility language of choice. OK, enough hype. :-) It seems that Perl ought to have a built-in getwd command, but it doesn't. Is it the case that the only way to find out the current working directory is to do $cwd = `/bin/pwd`; chop $cwd; ? Thanks in advance. ______________ _____________________________ Bob Glickstein | Internet: bobg@andrew.cmu.edu Information Technology Center | Bitnet: bobg%andrew@cmuccvma.bitnet Carnegie Mellon University | UUCP: ...!harvard!andrew.cmu.edu!bobg Pittsburgh, PA 15213-3890 | (412) 268-6743 | Sinners can repent, but stupid is forever