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

Comment on

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

but if i want to insert a new node say 11 after a specific position say after 6, how can i do that?

I don't know, but search is for everybody :) ?node_id=3989;HIT=linked%20list;re=N

Found 19 nodes roughly between 2012-09-28 and 1999-10-04 (searched 100.00% of DB).


where title contains all of "linked", "list"

2012-09-28 Shaveta_Chawla Linked list in Perl SoPW
2012-02-13 ghenry Random corrupted double-linked list SoPW
2010-11-16 perl5ever Does perl6 have a native linked-list data type? SoPW
2010-07-26 NodeReaper Reaped: linked list using associative hash SoPW
2009-10-20 biohisham Linked lists in an array of hashes SoPW
2007-11-16 asset Array VS Linked List SoPW
2007-10-10 lima1 Proposal: A "Cited/Linked by" list PMD
2006-12-18 msk_0984 How to implement Linked List SoPW
2006-09-28 Scott7477 Linked Lists and Perl Med
2006-09-25 radiantmatrix Linked lists as arrays: inserting values SoPW
2006-07-11 chiragforever Getting the Error message "*** glibc detected *** corrupted double-linked list:" SoPW
2005-12-15 monkfan Traditional Linked List and Perl's built-in Data Structure SoPW
2005-02-07 hok_si_la OOP/Linked List Question SoPW
2003-01-31 Ionizor Efficient Linked Lists SoPW
2002-10-01 impossiblerobot Linked-list Style Data Structure SoPW
2002-01-31 Mandor Linked List Strangeness SoPW
2001-01-30 Carl the Rake Dynamically Linked List SoPW
2000-02-23 Anonymous Monk Linked List SoPW
1999-10-07 faq_monk How do I handle linked lists? perlfaq


In reply to Re: Linked list in Perl by Anonymous Monk
in thread Linked list in Perl by Shaveta_Chawla

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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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: (21)
    As of 2015-07-28 14:11 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (255 votes), past polls