|
|||||
|
|
#1 |
|
|
I have install perl 5.8.3 and module ClearCase::CtCmd, (1.3.1) version, when I ran the following code: use ClearCase::CtCmd; @test = ClearCase::CtCmd("lsvob"); It got a windows dialog said the Perl Command line Interpreteris crash ask me to c**** send. When I c**** on the detail link I found there is a appcompat.txt generate on my Temp folder and the contains the following: Any idea? TIA. I am using windows XP, SP1, if I typed the command "lsvob" on cleartool, it does shows all the vobs. <?xml version="1.0" encoding="UTF-16"?> <DATABASE> <EXE NAME="perl.exe" FILTER="GRABMI_FILTER_THISFILEONLY"> <MATCHING_FILE NAME="perl.exe" SIZE="41015" CHECKSUM="0xCD715891" BIN_FILE_VERSION="5.8.3.809" BIN_PRODUCT_VERSION="5.8.3.809" PRODUCT_VERSION="Build 809" FILE_DESCRIPTION="Perl Command Line Interpreter" COMPANY_NAME="ActiveState, a division of Sophos" PRODUCT_NAME="ActivePerl" FILE_VERSION="5,8,3,809" ORIGINAL_FILENAME="perl.exe" INTERNAL_NAME="perl.exe" LEGAL_COPYRIGHT="Copyright 1987-2004, Larry Wall, Binary build by ActiveState, a division of Sophos, http://www.ActiveState.com" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="5.8.3.809" UPTO_BIN_PRODUCT_VERSION="5.8.3.809" LINK_DATE="02/03/2004 08:29:46" UPTO_LINK_DATE="02/03/2004 08:29:46" VER_LANGUAGE="English (United States) [0x409]" /> </EXE> <EXE NAME="libatriaks.dll" FILTER="GRABMI_FILTER_THISFILEONLY"> <MATCHING_FILE NAME="libatriaks.dll" SIZE="296928" CHECKSUM="0x5265D468" MODULE_TYPE="WIN32" PE_CHECKSUM="0x4BC9D" LINKER_VERSION="0x0" LINK_DATE="05/03/2004 16:38:18" UPTO_LINK_DATE="05/03/2004 16:38:18" /> </EXE> <EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY"> <MATCHING_FILE NAME="kernel32.dll" SIZE="930304" CHECKSUM="0xCBCCF8A9" BIN_FILE_VERSION="5.1.2600.1106" BIN_PRODUCT_VERSION="5.1.2600.1106" PRODUCT_VERSION="5.1.2600.1106" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.1106 (xpsp1.020828-1920)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE7ED3" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.1106" UPTO_BIN_PRODUCT_VERSION="5.1.2600.1106" LINK_DATE="08/29/2002 10:40:40" UPTO_LINK_DATE="08/29/2002 10:40:40" VER_LANGUAGE="English (United States) [0x409]" /> </EXE> </DATABASE> |
|
|
#2 |
|
|
news:d4b6522b.0411171731.6331d8f4@posting.google.c om: > Hi, there > I have install perl 5.8.3 and module ClearCase::CtCmd, (1.3.1) > version, when I ran the following code: > > use ClearCase::CtCmd; > @test = ClearCase::CtCmd("lsvob"); > > It got a windows dialog said the Perl Command line Interpreteris > crash ask me to c**** send. When I c**** on the detail link I found > there is a appcompat.txt generate on my Temp folder and the contains > the following: > Any idea? I don't know anything about the package you mention and I don't have the faintest idea what Rational ClearCase is. Looking at the do***entation for the module shows no usage examples similar the one you show above. Rather, it looks like you need to invoke a sub with a four-letter name in the ClearCase::CtCmd package rather than calling a sub named CtCmd in the ClearCase package. <SNIP>Windows crash information</SNIP> Oh, by the way, you should use strict; use warnings; and definitely read the posting guidelines for this group. Sinan. |
|
|
#3 |
|
|
use ClearCase::CtCmd; @test = ClearCase::CtCmd::exec("lsvob"); Let me try to use restrict and warning, but I doubt it will solve my problem. http://search.cpan.org/~ratl/CtCmd-1.03/CtCmd.pm Pretty much I invoke any ClearCase::CtCmd::exec command it died right away.. I have Clearcase 2002.05.00+ install. > I don't know anything about the package you mention and I don't have the > faintest idea what Rational ClearCase is. > > Looking at the do***entation for the module shows no usage examples similar > the one you show above. > > Rather, it looks like you need to invoke a sub with a four-letter name in > the ClearCase::CtCmd package rather than calling a sub named CtCmd in the > ClearCase package. > > <SNIP>Windows crash information</SNIP> > > Oh, by the way, you should > > use strict; > use warnings; > > and definitely read the posting guidelines for this group. > > Sinan. |