Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.flip and .trans don't like each other. #1036

Closed
p6rt opened this issue Jun 4, 2009 · 5 comments
Closed

.flip and .trans don't like each other. #1036

p6rt opened this issue Jun 4, 2009 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 4, 2009

Migrated from rt.perl.org#66300 (status was 'resolved')

Searchable as RT66300$

@p6rt
Copy link
Author

p6rt commented Jun 4, 2009

From daniel.carrera@theingots.org

To reproduce the error​:

"hello".flip.trans("aeiou" => "AEIOU")

=> too few arguments passed (2) - 3 params expected

The methods .flip an .trans work fine individually, but not together.
Both of the following variations have the same problem​:

"hello".flip().trans("aeiou" => "AEIOU")
"hello".flip.trans(("aeiou" => "AEIOU"))

However, the following works​:
my $s = "hello".flip();
$s.trans("aeiou" => "AEIOU");

Daniel.

@p6rt
Copy link
Author

p6rt commented Jun 13, 2009

From @moritz

On Thu Jun 04 12​:57​:59 2009, daniel.carrera@​theingots.org wrote​:

To reproduce the error​:

"hello".flip.trans("aeiou" => "AEIOU")

Same with "hello".lc.trans(...), and now tested in
t/spec/integration/real-strings.t

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Jun 13, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 22, 2009

From @pmichaud

Now fixed in 21066f1, closing ticket.

Thanks!

Pm

@p6rt
Copy link
Author

p6rt commented Jul 22, 2009

@pmichaud - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jul 22, 2009
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant