Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: asterisk pattern

by Corion (Patriarch)
on Oct 27, 2011 at 11:35 UTC ( [id://934120]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $b=this_code_is_from_perlmonks_org;
    
    ...
        print $a,sprintf '%4s','*'x(2+($a cmp $b)), qq(\n);
        $b=$a
    }
    
  2. or download this
    $level=12;
    my $i=12;
    ...
        print sprintf '%'.$i.'s', '*'x$l, qq(\n)
            unless $l<0
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found