Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

write() removes trailing spaces

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

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    $c = "c            ";
    write(STDOUT);
    
  2. or download this
    'a    b    c            '
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://554441]
help
Chatterbox?
[Discipulus]: ther is a way to golf this further:if(p$_)&(p $r)&$r!=$_ ?
[Discipulus]: being $r the reverse of $_

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2017-10-20 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (259 votes). Check out past polls.

    Notices?