Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Not too cool

by anita2R (Scribe)
on Jun 16, 2016 at 23:16 UTC ( [id://1165918]=perlquestion: print w/replies, xml ) Need Help??

anita2R has asked for the wisdom of the Perl Monks concerning the following question:

Had to delete this post as apparently it exceeded a size limit ?64K and displayed as junk without any warning! Ah well! There goes my (extremely limited) reputation.

Replies are listed 'Best First'.
Re: Not too cool
by jmlynesjr (Deacon) on Jun 17, 2016 at 18:03 UTC

    anita2R

    A parallel path would be to set up a github repository for any of your projects that you think would have wide interest. I think I posted my github cheat sheet on here in the past.

    Update:Re: What is the minimal GIT setup?

    James

    There's never enough time to do it right, but always enough time to do it over...

Re: Not too cool
by fgudin (Monk) on Jun 17, 2016 at 07:28 UTC

    I don't think the length is at fault here. The Node Status says:

    (…) Edit: code tags not paired. OPer /msgd.

      There is a limit on post size. Possibly the remainder of the code and the closoing tag was missing as consequence.

      fgudin

      The tags were all matched, and the post appeared correct in preview, but as soon as it was 'created' it went haywire. I tried it three times!

      When I looked at the post which was said to have unmatched tags, I could see that part of the stuff I posted was missing, so it seems to be a length issue

        Hello anita2R,

        If you follow BrowserUk’s advice (as you should) then it may help you to know where your original post ended. Here’s my best reconstruction of the final subroutine:

        BTW, it’s no longer considered good practice to call a subroutine using an ampersand prefix, which has the effect of circumventing prototypes. Unless you have a good reason to do this (and you usually won’t), omit the prefix:

        $message = replaceCc( $message );

        From perlsub:

        A subroutine may be called using an explicit & prefix. The & is optional in modern Perl, as are parentheses if the subroutine has been predeclared. The & is not optional when just naming the subroutine, such as when it's used as an argument to defined() or undef(). Nor is it optional when you want to do an indirect subroutine call with a subroutine name or reference using the &$subref() or &{$subref}() constructs, although the $subref->() notation solves that problem.

        Hope that helps,

        Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

        Perhaps there are one or more logical subdivisions of the code?

        If so, re-post the first chunk in the root node and add the rest as one or more posts subordinate to it.


        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". I knew I was on the right track :)
        In the absence of evidence, opinion is indistinguishable from prejudice. Not understood.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1165918]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-25 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found