Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

bitingduck's scratchpad

by bitingduck (Chaplain)
on May 19, 2012 at 01:38 UTC ( #971379=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    compare leftmost unmerged element in first series
    
    foreach(leftmost unmerged element)
    ...
    It's probably easiest to track how far into S1 and S2 the two buffers 
    +have gone, and 
    use B' and B'' as two relative pointers to separate the unmerged parts
    + of S1 and S2 from
    from the buffer elements that are migrating in.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[msh210]: doesn't append anything.
[msh210]: It should say "If the last nonempty element of LIST" or "If the string thus to be printed does not end in a newline""
[msh210]: Am I wrong?
[shmem]: no. You're right.
[msh210]: About time... last time I was right was... I don't even remember when.
[shmem]: perl -e 'warn "test$/", ^@^ '
[Eily]: well, at least it's right about warn doing the same thing as die :)
[shmem]: same with undef as last element
[msh210]: oh, good point. It's the best kind of correct
[shmem]: msh210: but I'd not call it a lie outright. That's when you do know the truth.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (19)
As of 2017-04-24 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.