Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by jeroenes (Priest)
on Jun 21, 2001 at 01:26 UTC ( #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)
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
Node Status?
node history
Node Type: note [id://90204]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-07-29 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls