# Does RUBY have the equivalent of PERL's formats?

**URL:** <https://www.ruby-forum.com/t/does-ruby-have-the-equivalent-of-perls-formats/48890>\
**Category:** Ruby\
**Created:** [November 26, 2005, 7:34am UTC](https://www.ruby-forum.com/t/does-ruby-have-the-equivalent-of-perls-formats/48890 "2005-11-26T07:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [November 26, 2005, 7:34am UTC](https://www.ruby-forum.com/t/does-ruby-have-the-equivalent-of-perls-formats/48890/1 "2005-11-26T07:34:30Z")

</div>

Scanning through one of the Ruby books, it appears that the language is  
very similar to PERL.

Is there also the equivalent of the PERL format statement?

Thanks,

Joe McGuckin

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [November 26, 2005, 9:03am UTC](https://www.ruby-forum.com/t/does-ruby-have-the-equivalent-of-perls-formats/48890/2 "2005-11-26T09:03:07Z")

</div>

removed\_email\_address@domain.invalid wrote:

> Is there also the equivalent of the PERL format statement?

[http://formatr.sourceforge.net/](http://formatr.sourceforge.net/)
