05-05-2008
Thanks so much guys...i'll try it out.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Several months ago I found a link that explained the difference between how a Unix Systems Admin would do scripting compared to what a Unix Programmer would do.
It showed a basic script and then show several iterations that explained how the Systems Admin would change it to make it better. I was... (0 Replies)
Discussion started by: BCarlson
0 Replies
2. Shell Programming and Scripting
Hi,
I have script in unix which creates a julian date like 126 or 127
I want convert this julian date into calender date
ex : input 127
output 07/may/2007 or 07/05/2007 or 07/05/07
rgds
srikanth (6 Replies)
Discussion started by: srikanthus2002
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am facing a weird problem with the 'Date'. If I check date multiple times in a short interval I see a different time altogether. Here is an example
$ date
Tue Jul 15 02:07:22 PDT 2008
$ date
Tue Jul 15 02:07:23 PDT 2008
$ date
Tue Jul 15 03:20:42 PDT 2008
$ date
Tue Jul 15... (5 Replies)
Discussion started by: sumitb74
5 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
5. UNIX for Dummies Questions & Answers
I'm having trouble running this script. I'm new to Unix so be kind please.
#!/bin/sh
# Test to make sure only a single parameter is passed from the
# command line.
if
then
echo "Usage: AC.sh <directory>"
exit
fi
# Is the parameter a directory test
if
then
echo... (3 Replies)
Discussion started by: FSUdude08
3 Replies
6. UNIX for Dummies Questions & Answers
Doubt #1
I have a program that I want the user to input date. When the user inputs the date, is it able to format it to system date dd-mm-yyy and then echo the value into a text file?
Doubt#2
If the above is not going to work, I tried to have the system date appear in the user input field and... (6 Replies)
Discussion started by: frossie
6 Replies
7. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
8. Shell Programming and Scripting
Hi
I am trying to schedule a job through Autosys through UNIX on a particular day of every month (for example 20th of every month). Can some one please help me whats the command or whats the process to run on that particular day of month.
Thank you, (2 Replies)
Discussion started by: sravuri
2 Replies
9. Shell Programming and Scripting
Hello All,
This is my first script in PERL. Hence require your help in moving further.
I have a script which should populate the values for Today, Yesterday output.
For which I use timeFrame as a variable to obtain the time in hrs:mm as 10:00.
All I want is, I want my timeFrame to start... (4 Replies)
Discussion started by: sathyaonnuix
4 Replies
10. Shell Programming and Scripting
I would like to get the below in YYYY MMDD format,
Last date of the week
Last date of the month
Last date of the year
And then compare d_date with the above if it matches it has to send some email.
while read email_address; do
mail -s "$subject"... (1 Reply)
Discussion started by: Aditya_001
1 Replies
LEARN ABOUT DEBIAN
test::pod::no404s
Test::Pod::No404s(3pm) User Contributed Perl Documentation Test::Pod::No404s(3pm)
NAME
Test::Pod::No404s - Checks POD for http 404 links
SYNOPSIS
#!/usr/bin/perl
use strict; use warnings;
use Test::More;
eval "use Test::Pod::No404s";
if ( $@ ) {
plan skip_all => 'Test::Pod::No404s required for testing POD';
} else {
all_pod_files_ok();
}
ABSTRACT
Using this test module will check your POD for any http 404 links.
DESCRIPTION
This module looks for any http(s) links in your POD and verifies that they will not return a 404. It uses LWP::UserAgent for the heavy
lifting, and simply lets you know if it failed to retrieve the document. More specifically, it uses $response->is_error as the "test."
Normally, you wouldn't want this test to be run during end-user installation because they might have no internet! It is HIGHLY recommended
that this be used only for module authors' RELEASE_TESTING phase. To do that, just modify the synopsis to add an env check :)
Methods
all_pod_files_ok( [ @files ] )
This function is what you will usually run. It automatically finds any POD in your distribution and runs checks on them.
Accepts an optional argument: an array of files to check. By default it checks all POD files it can find in the distribution. Every file it
finds is passed to the "pod_file_ok" function.
pod_file_ok( FILENAME, [ TESTNAME ] )
"pod_file_ok()" will okay the test if there is no http(s) links present in the POD or if all links are not an error. Furthermore, if the
POD was malformed as reported by Pod::Simple, the test will fail and not attempt to check the links.
When it fails, "pod_file_ok()" will show any failing links as diagnostics.
The optional second argument TESTNAME is the name of the test. If it is omitted, "pod_file_ok()" chooses a default test name "404 test for
FILENAME".
EXPORT
Automatically exports the two subs.
SEE ALSO
LWP::UserAgent
Pod::Simple
Test::Pod
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Pod::No404s
Websites
o Search CPAN
<http://search.cpan.org/dist/Test-Pod-No404s>
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/Test-Pod-No404s>
o CPAN Ratings
<http://cpanratings.perl.org/d/Test-Pod-No404s>
o CPAN Forum
<http://cpanforum.com/dist/Test-Pod-No404s>
o RT: CPAN's Request Tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Pod-No404s>
o CPANTS Kwalitee
<http://cpants.perl.org/dist/overview/Test-Pod-No404s>
o CPAN Testers Results
<http://cpantesters.org/distro/T/Test-Pod-No404s.html>
o CPAN Testers Matrix
<http://matrix.cpantesters.org/?dist=Test-Pod-No404s>
o Git Source Code Repository
<http://github.com/apocalypse/perl-test-pod-no404s>
Bugs
Please report any bugs or feature requests to "bug-test-pod-no404s at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Pod-No404s>. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.
AUTHOR
Apocalypse <apocal@cpan.org>
Thanks to the author of Test::Pod for the basic framework of this module!
Thanks to the POE guys for finding 404 links in their POD, and was the inspiration for this module.
COPYRIGHT AND LICENSE
Copyright 2010 by Apocalypse
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2011-03-05 Test::Pod::No404s(3pm)