[27662] in Perl-Users-Digest
Perl-Users Digest, Issue: 9120 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Apr 4 14:05:53 2006
Date: Tue, 4 Apr 2006 11:05:06 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 4 Apr 2006 Volume: 10 Number: 9120
Today's topics:
Convert windows path with space to 8.3 format ? <Random@Task.be>
Re: Help calling perl from gnu make on windows <Random@Task.be>
Render 3D-Body <Jonas.Huckestein@web.de>
Traslation: memmove to perl <gamo@telecable.es>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 04 Apr 2006 13:49:12 -0400
From: Random Task <Random@Task.be>
Subject: Convert windows path with space to 8.3 format ?
Message-Id: <okyYf.1383$pZ3.227454@news20.bellglobal.com>
How can I Convert windows path with spaces to 8.3 format from inside perl?
Thanks in advance
Jim
------------------------------
Date: Tue, 04 Apr 2006 13:46:31 -0400
From: Random Task <Random@Task.be>
Subject: Re: Help calling perl from gnu make on windows
Message-Id: <4432B0F7.2000205@Task.be>
No chance you know how to get the 8.3 name for a path inside perl do you ?
r.Ruud wrote:
> Random Task schreef:
>> Dr.Ruud:
>>> Random Task:
>
> Please don't top-post.
>
>>>> I am calling perl from gnu make on windows and I am having a problem
>>>> with "arguments with spaces".
>>> Did you try to put "" around them?
>> Unfortunately yes ... I have tried
>> <"some exec filename with space"> -help
>> which executes fine ... but as soon as the 2nd argument has spaces
>> i.e.
>> <"command"> <"arg1_with_spaces">
>> Everything i see on google says don't uses spaces ...
>> Any other suggestions?
>
> I meant in your build rule. The error message is about "C:/Program\",
> and I see that part only in your build rule.
>
> You can also use the 8.3 name of "C:/Program Files", often
> "C:/PROGRA~1", see
>
> dir c:\p* /ad/x
>
> from a DOS-prompt.
>
------------------------------
Date: Tue, 04 Apr 2006 18:18:18 +0200
From: Jonas Huckestein <Jonas.Huckestein@web.de>
Subject: Render 3D-Body
Message-Id: <e0u67p$b7u$1@online.de>
Good Evening,
I currently have a perl script which (basically) creates polygons and saves
them to images using the gd library. Now I would like to "stack" these
polygons onto eachother (with some padding in between) and then connect
them to form a body.
Which module can you recommend to display that sort of
"stacked-polygons-body"? I might add, that I would like to be able to turn
the body and view it from all around.
In other words, I have a "model" of something, given by a set of group and
edges and need to display it in a 3d-environment.
Any help is greatly appreciated!
Thank's in advance,
Jonas
--
Jonas Huckestein
PGP Key:
http://keyserver.mine.nu/pks/lookup?op=get&search=0x0E751B943C380BFC
------------------------------
Date: Tue, 4 Apr 2006 20:01:01 +0200
From: gamo <gamo@telecable.es>
Subject: Traslation: memmove to perl
Message-Id: <Pine.LNX.4.64.0604041955040.24999@jvz.es>
I am not sure about how could I translate this:
if($pos<$SIZE){
if($pos<$SIZE-1){
# memmove($min+$pos+1, $min+$pos, ($SIZE-1-$pos)*sizeof(int));
splice @min, $pos, $SIZE-1-$pos, $min[$pos+1..$SIZE-1];
}
$min[$pos] = $item;
}
or this one:
if($flag){
# my $block = ($TOTAL-1-$try)*sizeof(int);
# memmove($rest+$try, $rest+$try+1, $block);
splice @rest, $try, $TOTAL-1-$try, $rest[$try+1..$TOTAL-1];
$placed++;
search(\@board, \@rest, $placed);
$placed--;
# memmove($rest+$try+1, $rest+$try, $block);
$rest[$try] = $pick;
}
Any help is appreciated.
TIA
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 9120
***************************************