Date: Tue, 21 Nov 2000 20:52:22 +0100 From: Cliff Sarginson <cliff@raggedclown.net> Message-ID: <20001121205222.A4561@buffy.local> Subject: Re: [SLE] mysql/perl/new On Tue, Nov 21, 2000 at 01:21:00PM -0500, Alex Garcia wrote:
I must say before all I have never used mysql neither perl....but I I type perl and get nothing.... it just stays there doing nothing... can some of you tell me how can I get to know if perl is active on my computer and if mysql is alive? if not how can I activate them? cheers
Mmm. perl is waiting for you to ask it to do something ! If you just type perl on it;s own it will read it's input from your terminal :) try the following... perl printf "hello, world\n" <control/d> Where <control/d> is the "d" key and the control key held down at the same time (this is the Unix..oops sorry, Linux end of file mark). If you see "hello, world" echoed on your terminal you have advanced to the world of perl :) I think your mysql problem has been answered elsewhere here... Cliff p.s. Huge numbers of programs read their standard input by default, which unless you use redirection or pipes in the shell will be expected to come from your terminal. It's worth learning about this...any introductory book to Linux and any of the shells will tell you all about it.