RE: Unix to dos; dos to unix...

2002-04-25 Thread Collins, Joe (EDSI\\BDR)
In emacs: Esc-% C-q C-j ret C-q C-m C-q C-j ret! Where ret is either ENTER or RETURN. I just wanted to help also Joe -Original Message- From: David vd Geer Inhuur tbv IPlib [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 11:03 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]

RE: perlcc faq ?

2002-04-16 Thread Collins, Joe (EDSI\\BDR)
Here is all of it (code, platform, error message). The code is as simple as it gets and it will not compile. Any ideas are welcome. My source: use strict; my $ans=3*12; print 3x12=$ans\n; My platform: Windows XP and Windows 2000. My Perl: v5.6.0 built for MSWin32-x86-multi-thread Binary

giving up on perlcc, now trying perl -MO=c z.pl, still hasproble ms

2002-04-16 Thread Collins, Joe (EDSI\\BDR)
Perlcc.bat seems to difficult at this stage and thus I tried simplifying it. My platform: Windows 2000 or XP My Perl: v5.6.0 built for MSWin32-x86-multi-thread Binary build 618 z.pl: use strict; my $ans=3*12; print 3x12=$ans\n; What I tried: perl -MO=c z.pl The results: Undefined

perlcc faq ?

2002-04-15 Thread Collins, Joe (EDSI\\BDR)
Hi, I tried the perlcc process this w/e and I am sure I am using it correctly, i.e. proper parms, good perl program etc but I keep getting a vague error, i.e. the system cannot find the specified file - and it gives NO hint of which file it wants, i.e. .pm, .dll etc? Is there an FAQ for perlcc

RE: perlcc the system cannot find the file specified. ??

2002-04-15 Thread Collins, Joe (EDSI\\BDR)
I did ...I went to \perl\bin and found perlcc.bat - I then copied my .pl program (lamore.pl) there and typed: perlcc -o z.exe lamore.pl It started running and invoked Perl twice and then coughed up that message. I browsed perlcc.bat and did not find the message in there so it must be coming from

perlcc - newbie - cannot compile successfully - sample session

2002-04-15 Thread Collins, Joe (EDSI\\BDR)
Do I need something else, i.e. path settings or whatever? My source: use strict; my $ans=3*12; print 3x12=$ans\n; My platform: Windows XP I am in directory c:\ and invoke as shown. perlcc -o z.exe z.pl -- Compiling z.pl:

perl script to .exe?

2002-04-09 Thread Collins, Joe (EDSI\\BDR)
Does anyone know of an inexpensive way to turn a perl script (under windows/msdos) to an .exe file? I am aware of perl2exe but I think there may be better and less expensive methods. Thanks, Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Learing perl

2002-03-25 Thread Collins, Joe (EDSI\\BDR)
I learned Perl using teach Yourself Perl in 21 Days by David Till. Then I grabbed the Perl Cookbook. That was enough for me to feel comfortable in Perl and write some complex (for me) programs using anonymous array pointers and so on. Hope that helps. Joe -Original Message- From:

FW: Perldoc question

2002-03-13 Thread Collins, Joe (EDSI\\BDR)
If new to unix and you want to find perldoc (or any module), try this: find . -name perldoc* -print That will locate perldoc and show you the path to it. You could also try: whence perldoc That may also work (works for me under ksh) Hope that helps, Joe -Original Message- From:

How do I read a web page from within perl?

2002-01-30 Thread Collins, Joe (EDSI\\BDR)
For example, suppose I want to capture www.cnn.com into an array and process the text. How does one do this? Many thanks, Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: comparing strings

2002-01-29 Thread Collins, Joe (EDSI\\BDR)
Worth reading, including the end where Jonathan expands on his earlier post. -Original Message- From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 1:32 PM To: Collins, Joe (EDSIBDR) Subject: RE: Comparing strings | Don't know if this helps, but the

A becomes 1, B becomes 2, etc

2001-12-13 Thread Collins, Joe (EDSI\\BDR)
Hi, How can I convert the scalar 'A' (or 'a') to 1, 'B' to 2 and so on? Related: how do I get the true internal value for A, i.e. ascii value? Thanks! Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

how to tell if hash value is null vs missing

2001-10-04 Thread Collins, Joe (EDSI\\BDR)
Consider this perl stub: $value=$myhash{$mykey}; If the value in the hash at $mykey is , then $value becomes and if $mykey is not a valid key, then $value still becomes How do I differentiate between the two? Please email me (email address below) if you know the answer. Thanks, Joe [EMAIL