PPI::Statement::Null(3) User Contributed Perl Documentation PPI::Statement::Null(3)NAME
PPI::Statement::Null - A useless null statement
SYNOPSIS
my $foo = 1;
; # <-- Null statement
my $bar = 1;
INHERITANCE
PPI::Statement::Null
isa PPI::Statement
isa PPI::Node
isa PPI::Element
DESCRIPTION
"PPI::Statement::Null" is a utility class designed to handle situations where PPI encounters a naked statement separator.
Although strictly speaking, the semicolon is a statement separator and not a statement terminator, PPI considers a semicolon to be a
statement terminator under most circumstances.
In any case, the null statement has no purpose, and can be safely deleted with no ill effect.
METHODS
"PPI::Statement::Null" has no additional methods beyond the default ones provided by PPI::Statement, PPI::Node and PPI::Element.
SUPPORT
See the support section in the main module.
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.16.2 2011-02-25 PPI::Statement::Null(3)
Check Out this Related Man Page
PPI::Statement::Null(3pm) User Contributed Perl Documentation PPI::Statement::Null(3pm)NAME
PPI::Statement::Null - A useless null statement
SYNOPSIS
my $foo = 1;
; # <-- Null statement
my $bar = 1;
INHERITANCE
PPI::Statement::Null
isa PPI::Statement
isa PPI::Node
isa PPI::Element
DESCRIPTION
"PPI::Statement::Null" is a utility class designed to handle situations where PPI encounters a naked statement separator.
Although strictly speaking, the semicolon is a statement separator and not a statement terminator, PPI considers a semicolon to be a
statement terminator under most circumstances.
In any case, the null statement has no purpose, and can be safely deleted with no ill effect.
METHODS
"PPI::Statement::Null" has no additional methods beyond the default ones provided by PPI::Statement, PPI::Node and PPI::Element.
SUPPORT
See the support section in the main module.
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.10.1 2011-02-26 PPI::Statement::Null(3pm)
CO UNixware 7.1.1
Hi friends,
I have chopped my case statementt out of my .profile and put it in another script called setsid. The case statement works when run from my .profile but not from my setsid file.
All that the script does is set an environmental variable based on user input.... (7 Replies)
I have statement like this
column_id.columnname=="value"
in unix i want to modify above statement to
variable1=="value"
that means i have to replace the string before "==" by string "variable1"
second catch is, in statement instead of "==" you can have any arithmatic comarision... (7 Replies)
I am working in korn shell ad I have the following problem:
EXPORTALLFIRST=Y
I have an if statement in my program
if
then
and I am getting the following error
export.sh: Y: 0403-009 The specified number is not valid for this command.
Do you see any obvious errors? (5 Replies)
I am having problem writing the following script, this is more like a boolean case where i need to check for existance of a string in a file and if it exist i have to do certain things.
If ( such string exist in a file)
sed 's/car/bus/g' file
else
do something else. (7 Replies)
I write a short code in c
it may work well, but when I add an if ... else ... structure, a computation before the structure can not give a correct result
compilation and run can do well, but the result is wrong. Very strange
(1)
y2 = expression; //y2 = 0 always 0 ... (8 Replies)
Hello:
I have the following perl script which is giving me trouble inside the second elsif statement. The purpose of the script is to go through a file and print out only those lines which contain pertinent information. The tricky part came when I realized that certain items actually spanned... (5 Replies)
Hi there
I am trying to write an if statement in perl that will return "SUCCESS" if either of these conditions are true
a) if $changes is greater than 5 AND the $force flag is set to 1
OR
b) if $changes is greater than 0 AND $changes is less than 6
#!/usr/bin/perl -w
my $force =... (5 Replies)
Hi,
I'm trying to write an if statement that will check the USER parm against some text but I'm not quite sure how to use the or switch in the statement.. Can anyone help me out?...
If someone could also let me know when to use ( or if (( $USER != "user1" || "user2" || "user3" || "user4" ))... (6 Replies)
Hi Champs!!!
im a newbie in unix, need ur expert help for my problem...
I need to search if there are any "NULL" entries in the string
String without Null
Str1: 203652|1000003653|tellt|RUPV|4649|1|07/28/2011 01:56:12
String with Null (RUPV is removed)
Str2:... (5 Replies)
I am trying to check if files staring with filename but ending with diffent dates e.g. filename.2011-10-25.
The code I am using is below
if
It works find only if one file is present but returns binary operator expected
when there are mulptiple files.
Please help me correcting it. I... (5 Replies)
Hi,
I'm attempting to create case statement in a ksh script that does the following:
Run a uname command against the box and use that value for $HOSTNAME object. Then, if hostname has AIX in it, then use the lsldap command to try to bind, then print $HOSTNAME:yes or $HOSTNAME:no, depending on... (7 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hey, guys I really need some help with a project.
"Write a shell program that examines the command line... (8 Replies)
Is it possible to make an IF statement checking if the $1 of a program is equal to any of the lines of the 5th field of a specific file name?
if ]; then
this is what i thought of, but it doesn't work. (5 Replies)
Hi All,
I have a file which contains lakhs of records
0136812368126 03000 Statement
1237129372189 02321 JIT
0136812368126 05000 terminal
1237129372189 05001 Utilise
Is there an option to delete all lines which fall within the range 05000 to 05999?
I tried... (6 Replies)
How do we retrieve case statement return value at point indicated in the attached snippet
case "$FUN" in
1\ *) do_change_pass ;;
2\ *) do_network_menu ;;
3\ *) do_boot_menu ;;
4\ *) do_internationalisation_menu ;;
5\ *) do_ssh... (6 Replies)