Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Keep It Simple, Stupid
 
PerlMonks

Perl Monks Discussion

 | Log in | Create a new user | The Monastery Gates | Super Search | 
 | Seekers of Perl Wisdom | Meditations | PerlMonks Discussion | 
 | Obfuscation | Reviews | Cool Uses For Perl | Perl News | Q&A | Tutorials | 
 | Poetry | Recent Threads | Newest Nodes | Donate | What's New | 

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

This area is only for discussing issues pertaining to the PerlMonks 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.

User Discussion
A Beginners Section/Corner, additionally to Tutorials?
on Nov 20, 2009 at 11:29
1 direct reply by matze77

    Hello Fellows!
    As i make my hard progress in learning Perl i wonder if there would be something useful like a beginners corner?
    I know there are the tutorials already...
    Or something like "Quickstart for Perl for the impatient" (when it is possible to quickstart in Perl at all ;-). Maybe with hints for some of the "widely used Modules" e.g.?
    I wondered where (in which section) i could suggest to use an "Editor" or IDE like Padre padre.perlide.org/, or write a review to Editors?
    What you think?
    Do you totally disagree and want to point new users to sites like http://perl-begin.org/ or they should google for: perl beginner. I think maybe a "Thread" with useful links could help much?

    MH

[Offer your reply]
404 for current File::stat doc
on Nov 17, 2009 at 14:23
2 direct replies by thnidu

[Offer your reply]
[mod://] shortcut with named anchors
on Nov 16, 2009 at 12:17
1 direct reply by almut

    When linking to resources I prefer to use named anchors (if available), so people don't have to go searching for what exactly I'm referring to on the linked page.  With the shortcut [mod://], however, this doesn't seem to be possible, because special characters like # or % are being URI-escaped, which produces hrefs that don't work (example).

    I typically end up using a generic [http://...] with a URI like what would be created by [mod://]:

    [http://search.cpan.org/perldoc?pp#-a,_--addfile=FILE%7cDIR|my link +text]

    (which doesn't have the problem), but it would be nice to have it working directly with the shortcut in the first place, i.e.

    [mod://pp#named-anchor|my link text]

    (as it is, it typically takes two steps for me, because I don't seem to be able to remember the exact URI that's being generated by the shortcut...)

    So I'm wondering if there is a way to somehow quote/escape special characters (such that they aren't URI-escaped by PM), or what's the proper way to link to anchors.  Or is this maybe a browser issue? (I'm using Firefox)

    (My apologies in case this has already been discussed — a quick search turned up a number of nodes, but none of those did really apply to this specific issue.)


[Offer your reply]
Find Node - Recently Active Threads
on Nov 15, 2009 at 12:32
4 direct replies by 7stud

    Dear Monks,

    I have the Find Node on all my Perl Monks pages. One of the entries is "Recently Active Threads", which I find very helpful. Except, on that page when I click on one of the original posts(v. the responses under it), I am taken to a page that shows the original post and the replies. The replies have a "reply to" link next to each one of them--but the original post does not have a "reply to" link. The only way I have figured out how to reply to the original post is to go up to the top of the page and click on the link "Seekers of Perl Wisdom", and then locate the original post on that page. There has got to be a better way.

    Also, is there a way to mark a thread that you want to watch, so that you don't have to go hunting through the current threads for it?

    Thanks


[Offer your reply]
Size of text in replies when showing threads
on Nov 12, 2009 at 19:02
4 direct replies by jdporter

    Moderately observant readers will no doubt have noticed that, when viewing any "thread" (a node and its replies), the replies are displayed in a font smaller than the top node. It is being done with a hard-coded <font size="-1"> in HTML.

    This has been done since time immemorial, but we're not ones to be enslaved to tradition. There has been some commotion, over the years, to eliminate this hard-coded font size setting. Users who want to do something special with their font sizes should be free to adjust their on-site CSS to do so.

    Before we eliminate this rather inflexible style enforcement... Does anyone have any arguments why it should not (or should) be done?


[Offer your reply]
Hide restricted notes.
on Nov 09, 2009 at 05:31
2 direct replies by BrowserUk

    This morning, (not for the first time), when viewing RAT, there were two "Notes", 805872 & 805873, which when I click those links display 'empty' nodes!

    If I am considered too stupid, dangerous or fly-by-night to see the contents of these 'special nodes', is there any chance that the site could simply avoid bringing them to my attention, thereby avoiding raising my curiosity?


    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.

[Offer your reply]
Snippets Section and Code Catacombs deprecated for new posting
on Oct 29, 2009 at 09:29
3 direct replies by jdporter

    Lectori monastici cognoscentii will have noticed that the Snippets Section and Code Catacombs have been closed for posting. These sections are now archival only. All new posting of "substantial" code should be done in the Cool Uses For Perl section.

    In this way, Snippets Section and Code Catacombs follow the old Craft section into crepuscular obsolescence. All three sections were "strange", implemented using peculiar data structures and code; CUFP is "normal", being implemented with the same structure and code as the other major sections (SOPW, Meds, PMD, etc.).

    Like Craft, Snippets and Code will remain available for reading, browsing, and searching.

    Note also that Snippets and Code are no longer listed in the Sections nodelet, but have been moved to the Leftovers nodelet, alongside the link to Craft. Also, the "nav menu" at the top of each PerlMonks page no longer contains links to these sections.

    Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.

[Offer your reply]
Broken shortcut links for some built-in functions
on Oct 24, 2009 at 14:06
1 direct reply by toolic
    We all know and love the shortcut for linking to the offcial Perl documentation website, using 'URL pseudo-schemas'. Refer to:

    How do I link to the Perl documentation?
    What shortcuts can I use for linking to other information?

    For example, to link to the docs for the built-in 'split' function:

    [doc://split] works as intended ... split

    I know of at least two functions which currently have broken links:

    • [doc://say] ... say
    • [doc://state] ... state
    I get "Error 404" in my browser.

    A workaround is to use 'General-Purpose Linking'. For example:

    [href://http://perldoc.perl.org/functions/say.html|say] ... say

    Update: ikegami notified me (via private /msg) of a shorter workaround

    [http://perldoc.perl.org/functions/say.html|say] ... say

    Obviously, that's a lot more typing (or mouse clicks), but it gets the job done. These are just 2 examples which surfaced within the last week or so. There may be more.

    It would be great if fixing these broken links were added to the 'to do' list of the empowered Monks.


[Offer your reply]
autologin with cookie not working here
on Oct 23, 2009 at 11:32
3 direct replies by zentara
    Hi, i had to change the password to this site, because of the recent breach. Previously, a working cookie was set, so the correct login info would automatically be entered into the login boxes.

    After removing the old perlmonks cookie, and checking the boxes "remember me" and "set a permanent cookie".... it won't work anymore..... I have to manually enter the new password into the entry box. The entry seems to be pre-filled with *'s, but it is not the right password.

    I'm using linux, and Firefox 3.014

    Clues anyone?


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku

[Offer your reply]
A duplicated node
on Oct 21, 2009 at 02:18
2 direct replies by clp
    I made a node that was assigned ID 802308, Mentoring in Open Source Communities earlier today. Last time I looked it had a Reputation of 7.

    A copy of that node appeared (showing a time stamp about 4 hours later) as node 802346 Reaped: Mentoring in Open Source Communities with a Reputation=-2. It shows up under my ID.

    When I log out, and clear my browser's cache, both of those nodes are shown, so I assume that this is not something that only appears for my login. When I use a second machine without logging in to perlmonks, it sees both nodes.

    Is this normal behavior, or a bug? I've never seen duplicate nodes before.

    Is this the right place to report this type of problem?

    How can I get the duplicate deleted?


[Offer your reply]
TinyMCE Integration
on Oct 20, 2009 at 13:02
2 direct replies by dhoss

    UPDATE

    What goes into this

    • Downloading the TinyMCE JavaScript file/distro onto the PM server
    • Either allow users to add the initialization script tags to their freenodelet, or add it as an option in user settings, etc.
    • Configuration is merely editing the JSON when you initialize the script.

    • Come to a consensus on a default view of it. I vote "Advanced", as it allows users to turn off the WYSIWYG editor and edit the HTML if needed.
    • The BIGGEST issue I've had is getting it to show the text you need to type *above* in order to not be writing your node in your signature.

    This is going to be short and sweet, I'm running late to class :-P

    I've attempted to add TinyMCE integration in a sane manner to PM so that users can Just Type in a wysiwyg manner. Turns out the "simple" variation of TinyMCE doesn't allow you to disable it. It also by default seems to start you typing in the middle of your signature.

    jdporter suggested I post here to get some wider exposure. Thoughts on a solution? The "Advanced" mode allows you to turn it off, and I figure we could hack it a bit to save a cookie to remember this setting.

    mtfnpy


[Offer your reply]
CPAN feed down?
on Oct 15, 2009 at 06:51
1 direct reply by SilasTheMonk
    It seems to me that the CPAN nodelet on perlmonks.org is down. None of the links work. Usually perlmonks.org is one of the fastest places to see new modules, but the latency seems unusually high. Also search.cpan.org seems to be out of date with with what is on PAUSE. I can see nothing wrong in the PAUSE world.

[Offer your reply]
add perlmonks markup to link to cpan modules
on Oct 14, 2009 at 10:11
1 direct reply by leocharre
    Looking through the perlmonks markup.. We can use square brackets to link to a node.. And that's cool, you can simply link to a leocharre (user) by ropping them in square brackets.

    How about adding syntax to auto link to a module on cpan? Seems extremely useful.. (?).. for example usinng squiggly brackets.. {MODULENAME} would link to at least http://search.cpan.org/search?query=MODULENAME&mode=all ..?


[Offer your reply]
Yet another wishlist for perlmonks.org
on Oct 12, 2009 at 06:36
4 direct replies by spx2

    I seem to be making a lot of suggestions for improving Perlmonks lately and here I am, making yet another suggestion.

    First of all I've been told many times that perlmonks code is the everything2 engine(which I haven't been able to find the code for) and that it's very old and horrible(I'm not sure if that was exactly the word, but ... you get the idea).

    1. I think we should make that code public or at least to a couple of individuals interested in restructuring it. Rewriting it all with a modern framework(I understand that lifewithperl.org will make a survey on the existing Perl web frameworks pretty soon but there is cgi::app , catalyst , dancer and some other).

    2. Moosify all the code

    3. There is a very good web shell(at least the client-side) here http://goosh.org/(the source code for it is here) . If we could integrate that with Perlmonks and maybe use open-id for auth that would be very nice ,and extremely useful. The current interface is nice(it's main virtue being simplicity) but it can be even more simple.

    4. Extending goosh to allow running Perl scripts(or some subset of them) would be useful for site members(since this is a Perl community after all). Imagine you want to try out something fast , you don't have a compiler and don't have time to install one.. you just jump quick to the perlmonks web shell and run your code fast.

    I have been warned on PM to stay low and not make any more suggestions but I just don't listen do I ? :) , and of course , I promise you that if I find something that is interesting to me and is potentially useful I will not hesitate to talk about it here :) Let the downvoting begin :)

[Offer your reply]
download link in sourcecode nodes
on Oct 08, 2009 at 19:14
1 direct reply by vitoco

    I wanted to try one of the jewels from Code Catacombs, but realized that there is no [download] link on sourcecode nodes to remove those long line wraps, as in note nodes offered as a reply in the same section.

    Is that a missing feature or it's just hiding from me?


[Offer your reply]
 (1-15) of 300 Next entries--> 

Discussion Item
Title:
Give us your input


  • 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
  • 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.
  • Login:
    Password
    remember me
    What's my password?
    Create A New User

    Community Ads
    Chatterbox
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users
    Others meditating upon the Monastery: (10)
    GrandFather
    atcroft
    herveus
    Eyck
    hipowls
    biohisham
    djp
    gnosti
    rastoboy
    im2
    As of 2009-11-21 10:01 GMT
    Sections
    The Monastery Gates
    Seekers of Perl Wisdom
    Meditations
    PerlMonks Discussion
    Categorized Q&A
    Tutorials
    Obfuscated Code
    Perl Poetry
    Cool Uses for Perl
    Perl News
    Information
    PerlMonks FAQ
    Guide to the Monastery
    What's New at PerlMonks
    Voting/Experience System
    Tutorials
    Reviews
    Library
    Perl FAQs
    Other Info Sources
    Find Nodes
    Nodes You Wrote
    Super Search
    List Nodes By Users
    Newest Nodes
    Recently Active Threads
    Selected Best Nodes
    Best Nodes
    Worst Nodes
    Saints in our Book
    Leftovers
    The St. Larry Wall Shrine
    Offering Plate
    Awards
    Craft
    Snippets Section
    Code Catacombs
    Quests
    Editor Requests
    Buy PerlMonks Gear
    PerlMonks Merchandise
    Planet Perl
    Perlsphere
    Use Perl
    Perl.com
    Perl 5 Wiki
    Perl Jobs
    Perl Mongers
    Perl Directory
    Perl documentation
    CPAN
    Random Node
    Voting Booth

    Future historians will find that the material characteristic of the current era is...

    Aluminium
    Plastic
    Oil
    Water
    Carbon dioxide
    Copper
    Iron
    Silicon
    Salt
    Uranium
    Hydrogen
    Other

    Results (729 votes), past polls