Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Problems? Is your data what you think it is?
 
PerlMonks  

Re: s/// question

by dbwiz (Curate)
on Oct 02, 2003 at 07:29 UTC ( [id://295888]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to s/// question

It looks fine to me.

$regel = "Username; abcd; Username"; $regel =~ s/Username/\nGebruikersnaam/sgm; print "(BEGIN)$regel(END)\n"; __END__ output: (BEGIN) # <-- \n here Gebruikersnaam; abcd; # <-- and \n here Gebruikersnaam(END)

Maybe the problem is in your output routine. Are you producing HTML? If so, a "\n" doesn't have any effect, unless inside <pre> </pre> tags.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://295888]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.