Description: | This one bit me today, and seemed quite mysterious for awhile: |
@a = ('a%sc','b'); printf @a; # prints abc print sprintf @a; # prints 2
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 1: printf vs. sprintf
by tilly (Archbishop) on Jan 25, 2001 at 08:46 UTC | |
Re: printf vs. sprintf
by petral (Curate) on Jan 25, 2001 at 21:04 UTC | |
by a (Friar) on Feb 10, 2001 at 10:15 UTC | |
by chipmunk (Parson) on Feb 10, 2001 at 19:57 UTC |