RE: I'm sure this is a common question, but I can't find the solution.

2009-03-16 Thread David Christensen
Chas. Owens wrote: If you are stuck using Windows I would suggest looking into PowerShell ... http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx Interesting. I don't have the time for coding that I used to, and I've found that it's easier if I stick

Re: I'm sure this is a common question, but I can't find the solution.

2009-03-15 Thread Ron Smith
Ron Smith wrote: Hello all, Hello, How do you print elements of an array, each on its own line, in a Windows' console? I'm doing the following: E:\My Documentsperl -e use ExtUtils::Installed; my $inst = ExtUtils::Installed-new(); my @modules = $inst-modules(); print

Re: I'm sure this is a common question, but I can't find the solution.

2009-03-15 Thread Ron Smith
From: Beau E. Cox beau.e@gmail.com Subject: Re: I'm sure this is a common question, but I can't find the solution. To: geeksatla...@yahoo.com Date: Saturday, March 14, 2009, 10:51 PM Ron, On Sat, Mar 14, 2009 at 7:28 PM, Ron Smith geeksatla...@yahoo.com wrote: Hello all,

Re: I'm sure this is a common question, but I can't find the solution.

2009-03-15 Thread Chas. Owens
On Sun, Mar 15, 2009 at 01:46, David Christensen dpchr...@holgerdanske.com wrote: Ron Smith wrote: How do you print elements of an array, each on its own line, in a Windows' console? This works under Cygwin:    perl -e 'use ExtUtils::Installed; my $inst = ExtUtils::Installed-new(); my

Re: I'm sure this is a common question, but I can't find the solution.

2009-03-15 Thread Beau E. Cox
On Sun, Mar 15, 2009 at 2:39 AM, Chas. Owens chas.ow...@gmail.com wrote: snip This is shell dependent, and unfortunately the standard Windows shell (cmd.exe) does not follow the sh syntax.  Single quotes are not allowed as quotes and double quotes do not interpolate values.  Also $ is not how

RE: I'm sure this is a common question, but I can't find the solution.

2009-03-15 Thread David Christensen
Ron Smith wrote: Yes, I tried 'join' also but ran into the following message on using more than 1 set of double quotes: Charles explains why: http://www.mail-archive.com/beginners%40perl.org/msg99942.html I use Windows, Linux, and BSD machines, and prefer working from the command line.

Re: I'm sure this is a common question, but I can't find the solution.

2009-03-15 Thread Chas. Owens
On Sun, Mar 15, 2009 at 13:26, David Christensen dpchr...@holgerdanske.com wrote: Ron Smith wrote: Yes, I tried 'join' also but ran into the following message on using more than 1 set of double quotes: Charles explains why:    http://www.mail-archive.com/beginners%40perl.org/msg99942.html

Re: I'm sure this is a common question, but I can't find the solution.

2009-03-14 Thread John W. Krahn
Ron Smith wrote: Hello all, Hello, How do you print elements of an array, each on its own line, in a Windows' console? I'm doing the following: E:\My Documentsperl -e use ExtUtils::Installed; my $inst = ExtUtils::Installed-new(); my @modules = $inst-modules(); print @modules it returns:

RE: I'm sure this is a common question, but I can't find the solution.

2009-03-14 Thread David Christensen
Ron Smith wrote: How do you print elements of an array, each on its own line, in a Windows' console? This works under Cygwin: perl -e 'use ExtUtils::Installed; my $inst = ExtUtils::Installed-new(); my @modules = $inst-modules(); print join \n, @modules' Notes: 1. Single quotes around