|
Posted by A. Sinan Unur on April 15, 2008, 1:24 am
Please log in for more thread options
>
>>
>>
>>> The part I don't get right now is what follows the vanilla use
>>> statements
>>
>>
>>> use HTTP::Date qw/time2str str2time/;
>>
>>> What does it mean?
>>
>>
>> perldoc -f use
>
> This is the current contents of my Path system variable:
OK, but why are you listing it.
> C:\Program Files\perl3\site\bin;C:\Program
> Files\perl3\bin;c:\path\gcc\bin;C:\Program
> Files\Silverfrost\FTN95;C:\Perl\site\bin;C:\Perl\bin;c:\ruby\bin;
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
>
> This is, BTW, something that AS perl users on windows need to go
> in and trim after installations.
I have never had to do that. Could you explain what needs to be
trimmed and why? The only thing I can see is that you seem to have
installed Perl twice. Once in a non-default subdirectory of
C:\Program Files.
You also have gcc there which might confuse CPAN.pm or command line
build tools.
> I was wondering why I can use perldoc from a dos window anywhere,
> and see that the answer is that the path leads to the binaries,
> wherein we see perldoc.bat. I wouldn't have believed for a second
> that this is how I get output with the perldoc command:
Again, why is that hard to believe.
>
> @rem = '--*-Perl-*--
> @echo off
> if "%OS%" == "Windows_NT" goto WinNT
> perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
> goto endofperl
>:WinNT
> perl -x -S %0 %*
perl --help
-x[directory] strip off text before #!perl line and perhaps cd
to directory
-S look for programfile using PATH environment variable
Did you have a question?
Sinan
--
(remove .invalid and reverse each component for email address)
comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/
|