08-02-2006
I know this should work and it does not error out, however is not working, any ideas?
Chris
9 More Discussions You Might Find Interesting
1. Programming
I just want to know Three questions:
1.what is the name of c++ compiler used in Linux/Unix (like gcc compiler used for c ).And please tell me how can i compile the program of c++.
2. I have Devloped a program of Database in C Under Linux/Unix Enviornment and now i want to add some graphics... (4 Replies)
Discussion started by: at_renai2001
4 Replies
2. Solaris
Hello Everbody
I hope you can give me a hand, I have some questions
The first one itīs about some message that I donīt know what means, I was looking about it. but nothing. This is the message
rsh: connection from bad port
bsd-gw: Error reading from connection: Bad file number
And my... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
3. UNIX for Dummies Questions & Answers
hi ,
i have got few questions
1) i created a file "-myfile" .how can i remove this?what command shud i issue
2) i used echo "TODAYS DATE" ; DATE..........but date is comoing in second line..how can i make it come in single line?
3) how can i list all files in a directory using for... (5 Replies)
Discussion started by: vivekshankar
5 Replies
4. Shell Programming and Scripting
How can I know the version of the SENDMAIL currently being used by our system?
The particular point of interest is the &REPLYTO parameter.
Any information or knowledge on use of the REPLYTO parameter would be appreciated. (1 Reply)
Discussion started by: tads98
1 Replies
5. UNIX for Dummies Questions & Answers
How would you change the IP address using the command line?
How would you make the new IP address persistent after a reboot?
How do you find the default route of your host?
Your /var file system is full. How do you find the files and directories that consume most of the... (1 Reply)
Discussion started by: d3coy
1 Replies
6. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I would like to know how we can highlight/select a section of a file in vi and delete that section if we don't want to use the dd command to delete one line at at time. There is one where we don't want to delete the whole line , but up to a certain word. (2 Replies)
Discussion started by: Pouchie1
2 Replies
8. UNIX for Advanced & Expert Users
I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back.
(reason: 530 5.7.1 Authentication required)
530 5.7.1 Authentication required
Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies
9. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
LEARN ABOUT CENTOS
perl::critic::policy::inputoutput::prohibitjoinedreadline
Perl::Critic::Policy::InputOutput::ProhibitJoinedReadlinUser Contributed Perl DocumentPerl::Critic::Policy::InputOutput::ProhibitJoinedReadline(3)
NAME
Perl::Critic::Policy::InputOutput::ProhibitJoinedReadline - Use "local $/ = undef" or File::Slurp instead of joined readline.
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
It's really easy to slurp a whole filehandle in at once with "join q{}, <$fh">, but that's inefficient -- Perl goes to the trouble of
splitting the file into lines only to have that work thrown away.
To save performance, either slurp the filehandle without splitting like so:
do { local $/ = undef; <$fh> }
or use File::Slurp, which is even faster.
Note that if the "ProhibitPunctuationVars" policy is also in effect, it will complain about the use of $/ in the line above. In that case,
write this instead:
use English '-no_match_vars';
do { local $INPUT_RECORD_SEPARATOR = undef; <$fh> };
CONFIGURATION
This Policy is not configurable except for the standard options.
CAVEATS
Due to a bug in the current version of PPI (v1.119_03) and earlier, the readline operator is often misinterpreted as less-than and greater-
than operators after a comma. Therefore, this policy only works well on the empty filehandle, "<>". When PPI is fixed, this should just
start working.
CREDITS
Initial development of this policy was supported by a grant from the Perl Foundation.
AUTHOR
Chris Dolan <cdolan@cpan.org>
COPYRIGHT
Copyright (c) 2007-2011 Chris Dolan. Many 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::Policy::InputOutput::ProhibitJoinedReadline(3)