Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Should there be a book titled "How-To be a Perl Monk" ?

by zakb (Pilgrim)
on Mar 18, 2003 at 15:10 UTC ( #244008=note: print w/replies, xml ) Need Help??

in reply to Should there be a book titled "How-To be a Perl Monk" ?

perldoc -f stat

should be available on most, if not all, installations.

Or am I missing something :) ?

Replies are listed 'Best First'.
Re: Re: Should there be a book titled "How-To be a Perl Monk" ?
by broquaint (Abbot) on Mar 18, 2003 at 15:41 UTC
    Or am I missing something :) ?
    Where's the love?
    shell> perldoc -f stat | tail S_ISBLK($mode) S_ISCHR($mode) S_ISFIFO($mode) S_ISSOCK($mode) # No direct -X operator counterpart, but for the first one # the -g operator is often equivalent. The ENFMT stands for # record flocking enforcement, a platform-dependent feature. S_ISENFMT($mode) S_ISWHT($mode) See your native chmod(2) and stat(2) documentation for more details about the S_* constants.
    perldoc would like to remind the perl user that it loves
    each and every one of you!




      To be fair, shirkdog_perl has a point. The tutorials do have some very useful information.

      Perhaps HTML versions of the tutorials should be generated on a nightly or weekly basis and made available as a zip or tar.gz file. Might save some bandwidth?

      shirkdog, you may also want to invest in the Perl Cookbook, it has many useful snippets.

        I have the perl coobook on CDrom, it did not have exactly what I was looking for. That is where I see added-value to a Perl Monk cookbook. Where things have moved beyond the Perl cookbook, infact, when is a second edition coming out for the cookbook. That would be a must have Perl Book.
      A reply falls below the community's threshold of quality. You may see it by logging in.

      *snif* My perldoc doesn't love me. (I'm missing that last line...)

        You'll have to install the Love::Boat module from CPAN.

        use more 'love' in your scripts to enhance the following perl functions:

        # Initialization: if (accept $me, $spouse) { bind $me, $spouse; bind $spouse, $me; bless $spouse; bless $me; } # Happy marriage! # to talk to him/her print $spouse crypt($message); # use in conjunction with the new uncrypt function # to understand what he/she says: $message = uncrypt(<$spouse>); die $error; # results in # Oh no! So sorry, dear! I completely messed up line 15 # in module # It's all my fault: $error @cupboard = sort @clothes; # automatically remove dirty underwear and put them # in @laundry

        The previously unsupervised garbage collection will now require your attention by presenting you one of the following questions:

        "Honey, can you bring the trash outside?" (Y)es/(N)o "Can you _please_ clean your desk?" (Y)es/(N)o

        An automatic END-block will be inserted:

        END { print "Byebye, sweetheart!\n"; # en-US locale print "Hasta la vista, baby!\n"; # en-ARNI locale }

        The following commands will be disabled:

        study $scalar; # aborts with error message: "Cannot study, too much distraction!" use strict; # aborts with error message: "I'm not one of _those_! # $gender_specific_noun " warn $message; # overridden by the system; used to notify you of # upcoming birthday, wedding anniversary etc.

Re: Re: Should there be a book titled "How-To be a Perl Monk" ?
by shirkdog_perl (Beadle) on Mar 18, 2003 at 16:56 UTC

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://244008]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-11-30 20:31 GMT
Find Nodes?
    Voting Booth?