为您找到相关结果167,801个
Perl中的控制结构学习笔记_perl_脚本之家
(5) 含义:为真时执行,表达式为执行条件. 三、条件语句unless 复制代码代码如下: unless(表达式){语句} 与if条件含义相反,执行语句除非表达式为真,为真时退出,表达式为退出条件. 四、循环语句while 复制代码代码如下: while(表达式){语句} (1) 表达式为真时执行,是执行的条件. (2) 必须设置条件有为假的可能,...
www.jb51.net/article/579...htm 2024-6-2
Perl的基本语法
last unless ($i > 10);}Perl还有提供label(标记)的语法,也就是 goto 指令,不过有经验的programer并不喜欢用它,我也不建议大家使用,所以就此按下不讲。有兴趣的人请自行查阅。还有一点值得注意的是Perl没有提供像C语言一样的 switch 叙述,不过Perl的pattern match的功能非常强,所以我建议你直接用 if else ...
www.jb51.net/shouce/Pe...htm 2024-5-29
模式语法
a parenthesized subpattern (unless it is an assertion - see below) The general repetition quantifier specifies a minimum and maximum number of permitted matches, by giving the two numbers in curly brackets (braces), separated by a comma. The numbers must be less than 65536, and the first must...
www.jb51.net/shouce/php5/zh/referenc... 2024-5-10
Ruby简明教程之判断语句介绍_ruby_脚本之家
if修饰符和unless修饰符可以写在执行语句后面,例如,print "a is larger than b." if a>b,所以ruby是很灵活的。 "==="符号的意义,其在不同的场合可以代表不同的符号,若左边是数字或字符串时,则和"=="是一样的;在正则表达式的场合下则相当于"=~";在类的场合下,判断"==="右边的对象是否是类的实例 ...
www.jb51.net/article/514...htm 2024-5-20
进程状态ps -ef中的e、f含义讲解_linux shell_脚本之家
processes which do not have a controlling terminal, unless the -x option is also specified. -C Change the way the CPU percentage is calculated by using a ``raw'' CPU calculation that ignores ``resident'' time (this normally has no effect). ...
www.jb51.net/article/2668...htm 2024-6-2
XSS (Cross Site Scripting) Cheat Sheet
This only works in IE and Netscape 8.1+ in IE rendering engine mode. Notice that there is nothing on the page to show that there is included JavaScript. Note: With all of these remote style sheet examples they use the body tag, so it won't work unless there is some content on the ...
www.jb51.net/tools/x...htm 2024-5-30
SpringBoot中的@DependsOn注解详解_java_脚本之家
Using DependsOn at the class level has no effect unless component-scanning is being used. If a DependsOn-annotated class is declared via XML, DependsOn annotation metadata is ignored, and is respected instead. 使用说明 @DependsOn注解可以定义在类和方法上; 直接或者间接标注在带有@Component注解的类...
www.jb51.net/program/294199g...htm 2024-6-2
深入浅析SpringBoot中的自动装配_java_脚本之家
* {@link TomcatEmbeddedServletContainerFactory} (unless you have defined your own * {@link EmbeddedServletContainerFactory} bean). * * When using {@link SpringBootApplication}, the auto-configuration of the context is * automatically enabled and adding this annotation has therefore no additional...
www.jb51.net/article/1399...htm 2022-5-20