Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: write() removes trailing spaces

by jesuashok (Curate)
on Jun 09, 2006 at 08:41 UTC ( #554448=note: print w/ replies, xml ) Need Help??


in reply to Re: write() removes trailing spaces
in thread write() removes trailing spaces

Hi ioannis

Thanks for your reply.

what will happen if $c is only

$c = "c ";
The last spaces are removed. This detail is not documented in any of the perl documents.

"Keep pouring your ideas"


Comment on Re^2: write() removes trailing spaces
Download Code
Replies are listed 'Best First'.
Re^3: write() removes trailing spaces
by ioannis (Parson) on Jun 09, 2006 at 08:48 UTC
    if $c is set to 'c ', then it will append 9 spaces at the end, so the string can occupy the 11 posisions. (Remember, it is 1 + 10 .)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-08-31 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (351 votes), past polls