This returns an empty page, which usually means there is a syntactical error in the code. In the absence of a proper debugger, can anyone point out where this error might be?
I have two radio buttons with corresponding text boxes for input, when one is chosen I am disabling the text box for the other, is there a way to "gray out" the disabled text box using background-color or something? Any help is greatly appreciated, right now my onClick looks like this:
... (1 Reply)
Please advise a script to get rid of the following code which is infected in a large number of files ( in particular php and html files )
<div id="testws35fdgh"></div>
<script language="JavaScript">
var0 = "\x69\x3c\x33\x27\x34\x38\x30\x75\x3b\x34"; var1 =... (20 Replies)
i have got a problem in this coding.i have got start/pause in the same button.wen i open that page the stopclock runs automatically.wen i click pause it get paused in the frontend textbox bt running in the backend.wen i again click that start itz starting from the time without considering that... (2 Replies)
Hi,
I am writing a web application using Perl-CgI mostly. I wanted to integrate a table in which I was capable of sorting columns and I don't think this is possible with static HTML code.
Can someone help me integrating some javascript code into what I have to acheive the above?
Regards,... (6 Replies)
Ref earlier post:
https://www.unix.com/web-programming-web-2-0-mashups/118283-opera-10-0-released-looks-nice.html
I have noticed that Google Docs, Speadsheets does not work properly in Opera 10.
Anyone else seen the same thing? (1 Reply)
Hi ,
I wanted to know if its possible to execute a javascript function like this
E:- function js1(){
alert ("this is js1");
}
function js2(){
alert ("this is js2");
}
function js3(){
....
execthisscript(js1);
execthisscript(js2);
}
... (1 Reply)
Hi guys,
Ok first, let me explain what I want to do. I'm making a theme for the iphone, and I found a nice wallpaper slideshow script. Here is how it knows which wallpapers to use:
<script type="text/javascript">
// SLIDE ROTATION FREQUENCY (in minutes)
var slideRotation = 0.4;... (3 Replies)
Discussion started by: kicker75
3 Replies
LEARN ABOUT CENTOS
perl::critic::utils::mccabe
Perl::Critic::Utils::McCabe(3) User Contributed Perl Documentation Perl::Critic::Utils::McCabe(3)NAME
Perl::Critic::Utils::McCabe - Functions that calculate the McCabe score of source code.
DESCRIPTION
Provides approximations of McCabe scores. The McCabe score of a set of code describes the number of possible paths through it. The
functions here approximate the McCabe score by summing the number of conditional statements and operators within a set of code. See
<http://en.wikipedia.org/wiki/Cyclomatic_complexity> for some discussion about the McCabe number and other complexity metrics.
INTERFACE SUPPORT
This is considered to be a public module. Any changes to its interface will go through a deprecation cycle.
IMPORTABLE SUBS
"calculate_mccabe_of_sub( $sub )"
Calculates an approximation of the McCabe number of the code in a PPI::Statement::Sub.
"calculate_mccabe_of_main( $doc )"
Calculates an approximation of the McCabe number of all the code in a PPI::Statement::Document that is not contained in a subroutine.
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 2014-06-09 Perl::Critic::Utils::McCabe(3)