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]
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
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
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
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
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:
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]
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:
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:
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]
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
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]
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
13 matches
Mail list logo