Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

•Re: peek - output a one-line preview of stdin

by merlyn (Sage)
on Apr 27, 2003 at 20:40 UTC ( #253528=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $pad = ' ' x $wide;
    ...
    $_ = substr($_ . $pad, 0, $wide);
    print $_, "\r";
    
  2. or download this
    printf "%-${wide}.${wide}s\r", $_;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://253528]
help
Chatterbox?
[marto]: Re: Monastery login over http
[Corion]: Veltro: This is due to the fact that one of our webservers doesn't have "our" https certificate but another https certificate. Work is underway (well, on my long, long to-do list) to switch even that server over to "our" certificate
[Veltro]: Corion OK, thanks. At least I understand it now.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2018-05-23 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?