Getting ready for Sarbanes Oxley and I was told that I need to create a cron.allow file for the box so that only specified users can create cron jobs. That was easy enough, and I put in all the accounts that had scheduled cron jobs such as:
root
lp
My oracle account
A couple of programmer... (1 Reply)
Hi,
I first wanted to install my NIC drivers but it said:
Makefile:62: *** Linux kernel source not found. Stop.
So I installed the kernel source: linux-source-2.6.18_2.6.18.dfsg.1-13etch5_all.deb
1) cd /usr/src
2) -xjvf linux-source.2.6.18.extension (forget what it was)
3) ln -s... (12 Replies)
Dear Experts,
I have to count the number of AddressRecords formed in bbc.xml file using unix script file. For example: for below pasted file, I need to write an output to a log file as "No. of Address Records Created=4".
Snippet of bbc.xml:-
<?xml version="1.0" encoding="UTF-8" ?>
-... (1 Reply)
I just had this odd idea that may even have some future. The advent of 3D screens for the mass market might prove useful for the healthcare industry, while in surgical practices they rely on medical imagery more and more often. Perhaps the introduction of 3D screens will give the illusion of depth... (4 Replies)
Hi folks,
I was running many commands using root and closed the session.
I would like to see if there is a way to go back to the server and see those screens so I can remember what I did the next time I need to do that.
Thanks a bunch! (3 Replies)
Hi all,
In a directory I have a lot of files created in history. However do I check the number of files that were created before a designated date?
Thanks (1 Reply)
A client's SCO UNIX OpenServer 5.0.7 MP 4 system: The X-Windows GUI comes up fine (on multi-screen 2) but I cannot switch to tty01 or tty03 or any other tty. The display just shows a blinking cursor. I went into scoadmin video and checked that the function keys were all assigned--they are. I've... (6 Replies)
Good morning,
I` am trying to make a separate X screens on x86 machine
Dell XE2 Intel i5 2.5Ghz .
Video : Xeon E3-1200 v3/4 Gen Core Processor Integrated Graphics processor
Using Solaris 11.3
Release: kernel SunOS 5.11
Gnome 2.30.2
So right now I have tried to change... (4 Replies)
Discussion started by: defs
4 Replies
LEARN ABOUT CENTOS
ppi::token::comment
PPI::Token::Comment(3) User Contributed Perl Documentation PPI::Token::Comment(3)NAME
PPI::Token::Comment - A comment in Perl source code
INHERITANCE
PPI::Token::Comment
isa PPI::Token
isa PPI::Element
SYNOPSIS
# This is a PPI::Token::Comment
print "Hello World!"; # So it this
$string =~ s/ foo # This, unfortunately, is not :(
bar
/w;
DESCRIPTION
In PPI, comments are represented by "PPI::Token::Comment" objects.
These come in two flavours, line comment and inline comments.
A "line comment" is a comment that stands on its own line. These comments hold their own newline and whitespace (both leading and trailing)
as part of the one "PPI::Token::Comment" object.
An inline comment is a comment that appears after some code, and continues to the end of the line. This does not include whitespace, and
the terminating newlines is considered a separate PPI::Token::Whitespace token.
This is largely a convenience, simplifying a lot of normal code relating to the common things people do with comments.
Most commonly, it means when you "prune" or "delete" a comment, a line comment disappears taking the entire line with it, and an inline
comment is removed from the inside of the line, allowing the newline to drop back onto the end of the code, as you would expect.
It also means you can move comments around in blocks much more easily.
For now, this is a suitably handy way to do things. However, I do reserve the right to change my mind on this one if it gets dangerously
anachronistic somewhere down the line.
METHODS
Only very limited methods are available, beyond those provided by our parent PPI::Token and PPI::Element classes.
line
The "line" accessor returns true if the "PPI::Token::Comment" is a line comment, or false if it is an inline comment.
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.3 2011-02-26 PPI::Token::Comment(3)