Re: Getting started in Perl for Windows

2003-09-25 Thread R. Joseph Newton
"Dillon, John" wrote: > When I am in a black command.com screen with CPAN> prompt, where am I? Why > can't I cd to c:\? > > John You are in a CPAN shell, which you asked for in the command perl use_module(CPAN) execute(SHELL) or *something like that* :-) that you typed into the command line. Jo

Re: Getting started in Perl for Windows

2003-09-25 Thread R. Joseph Newton
"Dillon, John" wrote: > Is there a gobble-di-gook looker-upper for perl. For instance, if I don't > know what '@_' is saying, as in: > > my($email, $orig_email) = @_; You should read a Perl reference if you are going to use Perl. perldoc perlvar Joseph -- To unsubscribe, e-mail: [EMAIL PROT

Re: Getting started in Perl for Windows

2003-09-25 Thread Owen
On Thu, 25 Sep 2003 13:05:28 +0100 "Dillon, John" <[EMAIL PROTECTED]> wrote: > 'Can't locate Email/Find.pm in @INC <@INC contains: C:/Perl/lib > C:/Perl/site/lib.> at F:\getemails.ph line 1' > > Indeed line 1 does say: > > 'use Email::Find;' > > Hm. It seems I haven't installed Email::Find,

RE: Getting started in Perl for Windows

2003-09-25 Thread Thomas Bätzler
Dillon, John [mailto:[EMAIL PROTECTED] asked: > Is there a gobble-di-gook looker-upper for perl. For > instance, if I don't > know what '@_' is saying, as in: > > my($email, $orig_email) = @_; Look at the perlvar manpage. @_ is the array that has the parameters passed to a function. The above

RE: Getting started in Perl for Windows

2003-09-25 Thread Thomas Bätzler
Dillon, John [mailto:[EMAIL PROTECTED] asked: > When I am in a black command.com screen with CPAN> prompt, > where am I? Why can't I cd to c:\? That would be the CPAN prompt. Try "help" for a terse command listing, "quit" to exit back to the DOS prompt. CPAN is the Perl module installer. Check

RE: Getting started in Perl for Windows

2003-09-25 Thread Dillon, John
to check this? John -Original Message- From: Stephen Hardisty [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 11:43 To: Stephen Hardisty; Dillon, John; [EMAIL PROTECTED] Subject: RE: Getting started in Perl for Windows > If ppm d

RE: Getting started in Perl for Windows

2003-09-25 Thread Stephen Hardisty
> When I am in a black command.com screen with CPAN> prompt, where am I? Why can't I cd to c:\? Because you're in the CPAN shell. You can ues this to download and install CPAN Perl modules. If you type: install Email::Find You can go back to the command prompt by typing 'exit' and get help by t

RE: Getting started in Perl for Windows

2003-09-25 Thread Dillon, John
When I am in a black command.com screen with CPAN> prompt, where am I? Why can't I cd to c:\? John    http://www.cantor.com CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confiden

RE: Getting started in Perl for Windows

2003-09-25 Thread Dillon, John
y; Dillon, John; [EMAIL PROTECTED] Subject: RE: Getting started in Perl for Windows > If ppm doesn't work, try 'perl -MCPAN -s shell'. Oops, it's 'perl -MCPAN -e shell'. This email has been

RE: Getting started in Perl for Windows

2003-09-25 Thread Stephen Hardisty
> If ppm doesn't work, try 'perl -MCPAN -s shell'. Oops, it's 'perl -MCPAN -e shell'. This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security s

RE: Getting started in Perl for Windows

2003-09-25 Thread Stephen Hardisty
Sent: 25 September 2003 11:24 To: [EMAIL PROTECTED] Subject: RE: Getting started in Perl for Windows What I am eventually trying to do is get the email addresses from my Outlook into a list. I found the following example for Eudora which I want to adapt, unless you know an easier way: perl -Mema

RE: Getting started in Perl for Windows

2003-09-25 Thread Dillon, John
What I am eventually trying to do is get the email addresses from my Outlook into a list. I found the following example for Eudora which I want to adapt, unless you know an easier way: perl -Memail::find -ne 'email::find->new(sub { print shift->address, "\n" })->find(\$_)' file.mbx > output.txt

Re: Getting started in Perl for Windows

2003-09-24 Thread R. Joseph Newton
marcel wrote: > > > Where do I get this list ? I used the term list here as shorthand for listserv, orf mailing list. The beginners-perl mailing list is open to the public to subscribe. It is also pus;ished on a web-site and newsgroup that anyone can subscribe to. Given this, any claim to c

Re: Getting started in Perl for Windows

2003-09-24 Thread marcel
== Quote from R. Joseph Newton ([EMAIL PROTECTED])'s article > "Dillon, John" wrote: > > > I've spent ages looking to find the front door into Perl. > > > > I have downloaded the Win32 version and installed that using > > MSI on Windows NT. It doesn't create an icon on the desktop. > > Why should

RE: Getting started in Perl for Windows

2003-09-24 Thread Stephen Hardisty
> Why should it? Desktops are for the least sophisticated users, only. Ooh, handbags! This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security

Re: Getting started in Perl for Windows

2003-09-24 Thread R. Joseph Newton
"Dillon, John" wrote: > I've spent ages looking to find the front door into Perl. > > I have downloaded the Win32 version and installed that using > MSI on Windows NT. It doesn't create an icon on the desktop. Why should it? Desktops are for the least sophisticated users, only. > > The only .e

Re: Getting started in Perl for Windows

2003-09-24 Thread R. Joseph Newton
"Charles K. Clarkson" wrote: > > It sounds like you may have installed Activestate perl. > If you installed it in the C:\Perl directory, try pasting > this link into a browser window to get to the documentation > on your computer. > > file:///C:/Perl/html/index.html > Not necessary. The

RE: Getting started in Perl for Windows

2003-09-24 Thread Charles K. Clarkson
Dillon, John [mailto:[EMAIL PROTECTED] : : I've spent ages looking to find the front door into Perl. : : I have downloaded the Win32 version and installed that using : MSI on Windows NT. It doesn't create an icon on the desktop. : The only .exe's I find open into a window with a black : ba

RE: Getting started in Perl for Windows

2003-09-24 Thread Stephen Hardisty
Hi, you need to give it some code to compile. Create a plain text file and put some code into it, for example: print "hello\n"; Save it somewhere. Then on the command line (the DOS thingy), cd to where you made this file and type: perl myperlscript.pl Where 'myperlscript.pl' is the name you'v