Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: Fix whitespace around symbols

by Corion (Patriarch)
on Mar 23, 2015 at 08:45 UTC ( [id://1120946]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Fix whitespace around symbols
in thread Fix whitespace around symbols

Aaah, now I understand. There was the /g flag missing when initializing the %symbols hash. As soon as you add it to the three m// operators, the program works. See perlop and perlre for more information on the /g flag.

Replies are listed 'Best First'.
Re^6: Fix whitespace around symbols
by corfuitl (Sexton) on Mar 23, 2015 at 15:34 UTC

    Hi,

    I have added the /g and it works!

    Thanks for your time and consideration

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found