comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
December 2007
motuwethfrsasuw
     12 48
3456789 49
10111213141516 50
17181920212223 51
24252627282930 52
31       1
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: Problems with PAR         


Author: Justin Smith
Date: Dec 15, 2007 13:15

Thanks for the advice! Unfortunately, I now get the error message:

Can't locate POSIX.pm in @INC (@INC contains: CODE(0x126ad80) /tmp/par-
jsmith/cache-fc14e83c43d898aefd57a65be47befade41db747/inc/lib /tmp/par-
jsmith/cache-fc14e83c43d898aefd57a65be47befade41db747/inc CODE(0xfbcbc0)
CODE(0xfbce50)) at (eval 26) line 2.
BEGIN failed--compilation aborted at (eval 26) line 2.
couldn't read bitmap file "": No such file or directoryerror reading
bitmap file "" at Tk/Widget.pm line 205.
at Tk/Widget.pm line 203

I also get this message (about POSIX.pm) under Windows. It's kind of
odd, since POSIX is built in to perl.

Any other suggestions?
no comments
  Re: not sure why I am getting the following warning "Useless use of a constant in void context"         


Author: Peter J. Holzer
Date: Dec 15, 2007 13:15

On 2007-12-14 20:44, John W. Krahn telus.net> wrote:
> "mcardeiro@yahoo.com" wrote:
>> On Dec 14, 12:40 pm, "John W. Krahn" telus.net> wrote:
>>> Just because it "works", for some value of "works", does not mean it is
>>> the correct way to do it.
>>
>> what exactly is incorrect about saying run a subroutine and assign the
>> return to a variable or exit?
>
> I was commenting on the use of '||' instead of 'or' for flow control.
> That the subroutine in question uses 'exit()' is just a side effect.
> You shouldn't rely on side effects for flow control.

You are doing the same thing with or. It just happens at a slightly
different point in the program.

hp
no comments
  perlcc failing         


Author: Harry
Date: Dec 15, 2007 04:21

Hi,

I'm unable to get perlcc to convert my perl-prog.pl program to an exe.
The program runs just fine as a Perl script.

Any help would be greatly appreciated.

Thanks.
/Harry

C:\>perlcc perl-prog.pl
C:\apps\Perl\bin/perlcc.bat: perl-prog.pl did not compile, which can't
happen:
Starting compile
Walking tree
Exporter saved (it is in Getopt::Std's @ISA)
Prescan
Saving methods
Can't locate object method "IVX" via package "B::NV" at C:/apps/Perl/
lib/B/C.pm line 650.
CHECK failed--call queue aborted.

C:\>perl -v
Show full article (0.94Kb)
2 Comments