in reply to Re^3: mail2sms for Kannel
in thread mail2sms for Kannel

Hi

Thanks for your reply.

Those numbers are line numbers... they are not in the code.

the script works good without issue apart from line 21 and 23, am going to explain below.

Also please note that this is my 1st perl script...

My Issue is that am trying to read the body from the email and i need to add into a single line all the body

and btw, I am not that stupid.. thanks.

Replies are listed 'Best First'.
Re^5: mail2sms for Kannel (line numbers in the source)
by hippo (Archbishop) on Nov 22, 2017 at 11:12 UTC
    Those numbers are line numbers... they are not in the code.

    They are in between your <code> and </code> tags, ergo they are in the code.

    By putting them in there you are forcing anyone wishing to compile or run your code to do extra work (ie. remove the leading numbers). That's a barrier to you receiving help. It is up to you to decide how you proceed from here. Choose wisely.