Hello;
RE: ActivePerl-5.6.1
In a perl script of about 105 KB comprised of a main section
and about 10 subroutines, loop control counters are being pre-
incremented, eg:
$idx = 0;
for ($idx = 0; $idx < $max; $idx++) {
<< statements >>
}
If $max equals 1 (one)
How do you get the process id of the child process?
I tried this
if ($pid = fork)
but the $pid is an invalid negative number.
I also tried to use $$ in the child process code which supposes to
return the pid of the current process.
It was the same invalid negative number.
I am running v5.6.1
See my previous note. To demonstrate:
C:\>perl -MFile::Basename -e "$_ = 'C:\\ba\\log\\ULOG.20010101'; print
'yes' if basename ($_) =~ /^ULOG/i;"
yes
C:\>
Tom Wyant
___
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailma
Learning Perl (aka the llama book)
Programming Perl (aka the camel book)
The first is a better primer, the second is an invaluable reference book.
Both are produced by O'Reilly. http://www.oreilly.com
Good luck!
Chris
-Original Message-
I am new to perl and was wondering if anyone know
I am new to perl and was wondering if anyone knows anygood books or pointer
they can share.I would appriciate it
thanks
Ben
___
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
Yes, I noticed this too on my new win2k box. They look a bit like ansi
escape sequences, so loading the ansi.sys driver may help.
The problem seems related to the Term::Readline module that comes (or
doesn't come?) with this version of perl. If you check the doco for
Term::Readline it will tell
All:
I would like a perl module that I am creating to install itself into the
ActivePerl documentation TOC tree. I have ensured that "perl
makefile.pl;nmake;nmake test;nmake dist; nmake ppd" works correctly.
I have searched all over for examples or tutorials on MakeMaker, but haven't
found any