Re: Outputting to screen and file. (fwd)

2002-06-11 Thread Alan John Drew
-- Forwarded message -- Date: Tue, 11 Jun 2002 13:26:13 +0100 (BST) From: Alan John Drew <[EMAIL PROTECTED]> To: phumes1 <[EMAIL PROTECTED]> Subject: Re: Outputting to screen and file. You want to use something called tee. The following will open a pipe to $maxent

Re: CPAN viruses

2002-06-05 Thread Alan John Drew
When I download something (depending on how large it is/how much I trust) I get the source code, scan it for anything dodgy (including the makefile/make make script) and if all seems ok, compile and install. If you can avoid it, never compile/install as root. I generally compile the modules as an

bi-directional pipe

2002-06-05 Thread Alan John Drew
I have a program which I want to have a bi-directional pipe to (i.e both write and read). I am unable to tee it to a file and then read the file, so reluctantly started to investigate the IPC modules. I have a snippet of code here, which again works (sort of), just not in the way that I need...

Storing variable names in strings

2002-06-03 Thread Alan John Drew
Hi, I have this snippet of code which actually works, but I would like to get rid of the warning [PbFe]$ more foobar.pl #!/usr/bin/perl -w #my $helloworld; my $hello='helloworld'; ${$hello}='foo'; print STDOUT $helloworld."\n"; [PbFe]$ ./foobar.pl Name "main::helloworld" used only once: pos