Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Pre vs Post Incrementing variables

by Anonymous Monk
on Sep 24, 2016 at 10:37 UTC ( #1172534=note: print w/replies, xml ) Need Help??


in reply to Re: Pre vs Post Incrementing variables
in thread Pre vs Post Incrementing variables

I am expecting like this for a file.

input

Hi hello world Hi hello world .
output
1.1 Hi 1.2 hello 1.3 world 2.1 Hi 2.2 hello 2.3 world 2.4 .
again new sentence will come

Replies are listed 'Best First'.
Re^3: Pre vs Post Incrementing variables
by Erez (Priest) on Sep 25, 2016 at 08:57 UTC

    Hello, I don't see exactly how this is related to the overall thread, so you may benefit from starting a new one.

    Either way, the best way of getting an answer regarding your problem is giving more context, mainly, the part of the program that is giving you the unwanted output, and what is the wanted output, since it's entirely unclear (to me) from the example you give here.

    Hope this helps

    Principle of Least Astonishment: Any language that doesn’t occasionally surprise the novice will pay for it by continually surprising the expert

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1172534]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2020-01-26 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?