Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Good job KM!

1 Th 5:11
So encourage each other and build each other up, just as you are already doing.

Temporary content below for Stamp_Guy...
2001-06-21

#!/usr/bin/perl -w # dotest.pl # pod at tail use strict; use vars qw( $scalar1 $scalar2 $scalar3 @list1 @list2 @list3 @list4 ); my $configfile = 'dotest.conf'; print "\n", "Starting $0\n", "Reading vars by \"do\"ing $configfile\n", ; do "$configfile"; print "Printing var contents with $0\n\n", " \$scalar1 contains: $scalar1\n", " \$scalar2 contains: $scalar2\n", " \$scalar3 contains: $scalar3\n", ; print "\n \@list1 contains: "; for(@list1) { print"\n $_"; } print "\n \@list2 contains: "; for(@list2) { print"\n $_"; } print "\n \@list3 contains: "; for(@list3) { print"\n $_"; } print "\n \@list4 contains: "; for(@list4) { print"\n $_"; } print "\n\nDone running $0\n\n"; =head1 Title dotest.pl =head1 Description Test scriptlet for Perl's builtin "do" function. =head1 Comments The config file doesn't appear to need: chmod +x shebang line And must not include vars declared lexically with 'my' Better to declare the vars lexically in main script with 'my', instead of the above global declaration with 'use vars qw...' but I can never seem to remember the right syntax for my'ing a group of vars. =head1 Author ybiC =head1 Updated 2001-06-21 14:40 Add @list4. Add Sample run to pod. Add Contents of config file to pod. =head1 Contents of config file $scalar1 = 'now is the time'; $scalar2 = 'it was the best of times'; $scalar3 = 'tiiime is ticking away, tick-tick-ticking away'; @list1 = qq($scalar1 $scalar2 $scalar3); @list2 = qw($scalar1 $scalar2 $scalar3); @list3 = ("$scalar1", "$scalar2", "$scalar3"); @list4 = qq($scalar1, $scalar2, $scalar3); =head1 Sample run Starting dotest.pl Reading vars by "do"ing dotest.conf Printing var contents with /cygdrive/d/Perl/DR/dotest.pl $scalar1 contains: now is the time $scalar2 contains: it was the best of times $scalar3 contains: tiiiime is ticking away, tick-tick-ticking away @list1 contains: now is the time it was the best of times tiiiime is ticking away +, tick-tick-ticking away @list2 contains: $scalar1 $scalar2 $scalar3 @list3 contains: now is the time it was the best of times tiiiime is ticking away, tick-tick-ticking away @list4 contains: now is the time, it was the best of times, tiiiime is ticking aw +ay, tick-tick-ticking away Done running dotest.pl =cut

In reply to RE: PSALM 23 (1 Th 5:11) by ybiC
in thread PSALM 23 by KM

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (12)
    As of 2014-09-16 22:36 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (51 votes), past polls