Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 lurking in the Monastery: (4)
As of 2014-09-19 03:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls