Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Do you know where your variables are?
 
PerlMonks  

Perl Monks Discussion

( #1040=superdoc: print w/ replies, xml ) Need Help??

This section is only for discussing issues pertaining to the PerlMonks web site. You can ask about how things work, or offer ideas on how the site could be improved, for example.

Unless the topic pertains to the PerlMonks web site, it does not belong in this section. If you're unsure, check out Where should I post X? and The Perl Monks Guide to the Monastery, or ask in the chatterbox.

PerlMonks Discussions
Collapsible comments
2 direct replies — Read more / Contribute
by space_monk
on Jan 09, 2013 at 09:31

    A number of other sites have comments that can be collapsed and expanded by clicking on them. Is there a reason why this cannot be done within the Monastery for a more enlightening experience?

    As it would be Javascript driven. I presume one cannot add user javascript the same way you can CSS stylesheets.

    A Monk aims to give answers to those who have none, and to learn from those who know more.
Wish you all a very happy new year.
2 direct replies — Read more / Contribute
by perl514
on Dec 31, 2012 at 12:46

    Revered Monks,

    Wish all of you a very happy, prosperous and fun filled new year!!

     

    Perlpetually Indebted To PerlMonks

    Win 7 at Work. Living through it....Linux at home. Loving it.

Link to searches is missing domain
2 direct replies — Read more / Contribute
by daveola
on Dec 26, 2012 at 02:18

    When you search, the results contain a preload link that looks like this:

    Link to preload this search: [href://?node_id=3989;HIT=perl]

    The domain is missing.

Pentadactyl in the Monastery?
1 direct reply — Read more / Contribute
by Jim
on Dec 18, 2012 at 19:11

    Is anyone else besides me using the Pentadactyl browser add-on for Firefox in the Monastery? Editing forms using Vim via Ctrl-I? If so, let's exchange tips.

    Jim

CSS Show and Tell: Colored Code
4 direct replies — Read more / Contribute
by frozenwithjoy
on Dec 05, 2012 at 22:44

    It may not be for everyone, but the way inline code and code blocks are displayed with a border and distinct background color on many sites really helps me when reading text interspersed with code. After reading Repainting the Monastery the other day, I decided to spend an evening learning some basic CSS so that I could make my own PerlMonks experience more pleasant.

    Below is the modest CSS snippet I'm currently testing out. I also put it up as a GitHub gist so that I can point to it from Display Settings (for anyone that doesn't know where to add CSS code or point to external CSS links).

    tt.codetext, tt.inlinecode { border: 1px solid gray; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-family: Mensch,Menlo,Monaco,Consolas,"Courier New",monospace; white-space: pre; color: black; background-color: #FFF4F4; word-wrap: break-word; } tt.codetext { display: block; margin-right: 5px; padding: 4px 4px 4px 4px; font-size: 100%; line-height: 13px; } tt.inlinecode { padding: 2px 1px 2px 1px; font-size: 60%; line-height: 15px; } @media screen and (max-device-width:480px) { tt.inlinecode { font-size: 100%; } }

    I use PM's red theme, so I gave my code blocks a faint red color to keep with the theme; however, this background color can easily be changed by adjusting background-color: #FFF4F4;. There are a couple other things I'm debating, including whether I prefer it without word-wrap: break-word;, but I figured I'd post it here in hopes that someone might find it useful and that other people might also share any nice CSS customizations they have done.

    On the theme of sharing... If there are many people with custom PerlMonks CSS, it might be nice to have a node dedicated to snippets or external links to supplement the primary themes that are available in Display Settings. This might help quench some people's thirsts for a 'repainted' monastery, without actually having to do any real painting.

    EDIT: I posted screenshots of how it looks on my screen with and without this CSS.

    EDIT #2: Added a bit so that things look as expected when viewing PM from my phone.

Preview for "Update"
5 direct replies — Read more / Contribute
by ww
on Dec 05, 2012 at 17:40
    Brethern and Sistern (excuse the homo sap bias):

    For the too-many-th time, I discovered after posting that I'd omitted a critical point, markup or something else that left me dissatisfied with the node and then turned myself into a serial updater by adding an error for every correction.

    Therefore, seizing the bull by the bs ^H^H^H ... er, horns, may we discuss a possible change to the update capability; namely, an optional "preview before updating" configuration, which might be added to the option for direct posting without previewing which exists for Monks of certain orders?

    Alternately, we might add a second, "preview" button to the existing "update" button and redirect the action that way.

    And, actually I'm very curious about why this hasn't surfaced recently. It may be this has engendered little interest previously or that it's a fundamentally 'bad idea' or that it's in the 'too hard' box (but, without suggesting I'm sure I could do the job, I don't see why that would be the case).

    What say you?

Search button in 'Perlmonks' header bar
3 direct replies — Read more / Contribute
by roboticus
on Nov 30, 2012 at 19:25

    Hmmm ... it is just me, or did the Search button in the Perlmonks header bar grow? It looks twice as large as I think I remember seeing it. If it changed, I don't know when, but it really caught my eye a few minutes ago.

    Update: I checked Tidings, but didn't see a recent change.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Repainting the Monastery
8 direct replies — Read more / Contribute
by eyepopslikeamosquito
on Nov 26, 2012 at 05:08
We got hacked again.
4 direct replies — Read more / Contribute
by BrowserUk
on Nov 20, 2012 at 06:35

    This isn't me.

    Why is it so difficult for the "experts" that run this place to implement proper authentication?

    If you ever want a reason for the decline in Perl's popularity; the fact that the Perl expertise, that code the premier Perl website -- in Perl -- can't work out how to do proper authentication probably is -- and should be -- a damn good one.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Have BrowserUk and sundialsvc4 gone on holiday together?
6 direct replies — Read more / Contribute
by Anonymous Monk
on Nov 12, 2012 at 02:05

    Noticed something surprising and suspicious on Saints in our Book today:

    #UserExperienceLevel WriteupsUser SinceLast Here
    2BrowserUk130529Pope (28)182242002-06-04 18:126 days ago
    130sundialsvc411032Prior (17)24242007-10-30 00:276 days ago

    It is very strange that two such active Perl monks are absent from this site for such a long period, at the same time, and for the identical number of days. Since they get on so well together at Perl Monks, perhaps BrowserUk and sundialsvc4 have gone on a holiday together?

Perl Monks in numbers?
3 direct replies — Read more / Contribute
by szabgab
on Nov 04, 2012 at 14:16
Drunk at the monastery
1 direct reply — Read more / Contribute
by pvaldes
on Oct 24, 2012 at 14:33

    Esteemed Perloholics Anonymous, things are getting alarming here:

    I must admit that this is not a totally unexpected result. Yes, WE HAD some clues at the monastery

    Found 50 nodes where title contains "vine" Found 13 nodes where title contains "whisky" or "whiskey" Found 13 nodes where title contains "vodka" Found 11 nodes where title contains "alcohol" Found 26 nodes roughly where any text contains all of "how", "to", "ma +ke", "beer" Found 5 nodes with: "Tk problem: keep sober"

    And not even mention about how easy is to find people talking about "hash" here!, but things can get worse and here is the proof!

    search: monk Duplicates Found Multiple nodes named "monk" were drunk

    mul-ti-ple no-des, shame on you perlmonks!

    What's happening here?

Linking to perldoc or man page
2 direct replies — Read more / Contribute
by jmlynesjr
on Oct 21, 2012 at 21:23

    If I open a terminal window and type perldoc Wx or man Wx, I get a usage information screen for wxPerl. I wanted to link to this information in a prior post and none of the methods discussed below did what I needed. Can these files be linked to(assuming you have Wx installed)?

    James

    Markup in the Monastery then What shortcuts can I use for linking to other information?

    [doc://Wx] Wx gives Not Found

    [mod://Wx] Wx gives the CPAN Wx page

    [man://Wx] Wx gives the freebsd search page

Just a few more to go!
1 direct reply — Read more / Contribute
by roboticus
on Oct 19, 2012 at 06:03

    Hello, gang:

    I just noticed that we've nearly hit our one-millionth post here on PM.

    Thanks for the virtual hangout, everyone. I've enjoyed the past few years, and intend to enjoy the next few years as well.

    The way things are going, though ... perhaps I'm going to have to learn a little bioinformatics, so I can chime in on some of the more recent posts....

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Cross-posting Policy?
4 direct replies — Read more / Contribute
by Anonymous Monk
on Oct 17, 2012 at 17:41

    Is there a policy on posting a question to multiple forums? ie. Perl Monks and wxPerl_users...

    Thanks, James


Discussion Item
Title:
Give us your input:
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 avoiding work at the Monastery: (6)
    As of 2013-05-19 16:25 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best material for plates (tableware) is:









      Results (397 votes), past polls