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

Re:{4} Output Separators (Was: changing DB delimiters)

by jeroenes (Priest)
on Jun 21, 2001 at 01:26 UTC ( [id://90204]=note: print w/replies, xml ) Need Help??


in reply to Re: Output Separators (Was: changing DB delimiters)
in thread changing DB delimiters

It's becoming prettu much a private conversation methinks ;-}.

I personnally wouldn't put a record separator after the last record. So in this case I would leave $\ alone.

I think $\ is handy in case you want to loop over the records, using to print to write it. Actually I consider using it more often, as there is an endless number of "\n"s in the average reporting script.

  • Comment on Re:{4} Output Separators (Was: changing DB delimiters)

Replies are listed 'Best First'.
Re: Output Separators (Was: changing DB delimiters)
by Abigail (Deacon) on Jun 21, 2001 at 03:10 UTC
    Whether you would put a record separator after the last record isn't very relevant for this particular case, as it is putting one there.

    Just because you fancy data formats with needless exceptions (handy if you are going to append records....) doesn't mean it's fine to change the data format at hand - without informing the reader about it.

    -- Abigail

Log In?
Username:
Password:

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

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

    No recent polls found