codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Perl Critic trouble  gayaneducation at 04:04 on Wednesday, December 17, 2008
 

use Test::Perl::Critic;
use Test::More tests => 1;
critic_ok($file);

----$file is x.pm-----, i used x.pm
critic_ok(x.pm);

After run this code following error occures. I already installed "testperlcritic/Test-Perl-Critic-1.01.tar.gz
" module

root@testsiteQA>>/iw-home/iw-perl/bin/perl Critic1.pl
Can't locate Test/Perl/Critic.pm in @INC (@INC contains: /iw-home/iw-perl/lib /iw-home/iw-perl/site/lib /iw-home/iw-perl/vendor/
BEGIN failed--compilation aborted at Critic1.pl line 1.


please help to solve this









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Microsoft Access (VB) Question
•  Add an OnChange event to an ASP page
•  value of text field
•  value of text field
•  Perl Critic trouble
•  OPENING FOR: PERL (Developer/ Senior/ Team Lead)
•  Re: Help with code
•  remove character on a line of a file with check box
•  Pulling Data from 2 tables with variables from a 3rd table!!!


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008