If I want to save an article or question for future reference, how do I do that on PerlMonks without actually copying the entire text and saving it as text file? I would prefer to save only the link to the question. For example, recently the behavior of int() function was brought up in the question "Behaviour of int() unexpected" and I wanted to save the link of that question. However, when I click on that question, the address bar shows this: https://perlmonks.com/? and nothing else. So, I know if I just copy that and paste it later, it's not going to show that question. So, I think, I should click somewhere else but not sure where.

Update: Nevermind. It works now. I see it https://perlmonks.com/?node_id=11164220 I don't know why it didn't show this link previously when I clicked on the question. This is so weird. Anyway, I got it!

  • Comment on How to get the link to a question node?

Replies are listed 'Best First'.
Re: How to get the link to a question node? -- oneliner
by Discipulus (Canon) on Mar 12, 2025 at 07:36 UTC
    Hello harangzsolt33,

    notice that every page has also in the top left corner something like: on Oct 31, 2017 at 13:03 CET ( [id://1202418]=note: print w/replies, xml ) where the node ID is stored in convenient form working for any URL you use to reach the site.

    In my Bibiotheca I have a listitemizator to save pm links inside list item tags. You can strip tags or modify it suiting your needs:

    perl -MLWP::UserAgent -e "print qq([id://$ARGV[0]|).LWP::UserAgent->ne +w->get('http://perlmonks.org/index.pl?node_id='.$ARGV[0])->title,']'" + 11164264 [id://11164264|How to get the link to a question node?]

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
      Oh, Thank you!
Re: How to get the link to a question node?
by hippo (Archbishop) on Mar 12, 2025 at 10:48 UTC
    If I want to save an article or question for future reference, how do I do that on PerlMonks

    Click the "Add current node" link in the Personal Nodelet.

    I don't know why it didn't show this link previously when I clicked on the question. This is so weird.

    That's because previously you were POSTing rather than GETting.

    For linking inside the Monastery see also Linking on PerlMonks.


    🦛