Sanko Robinson


Fl::SecretInput - Text Widget that Displays as a String of Placeholders


    use Fl;
    my $input = Fl::SecretInput->new(0, 0, 100, 200, 'Hello, World!');


The Fl::SecretInput class represents a widget that displays its input as a string of placeholders.

Depending on the platform this placeholder is either the asterisk ('*') or the Unicode bullet character (U+2022).

This subclass is usually used to receive passwords and other "secret" information.


Fl::SecretInput inherits from Fl::Input and Fl::Widget. On top of that, it exposes the following methods...


    my $text_a = Fl::SecretInput->new(0, 0, 250, 500, 'Important Stuff');
    my $text_b = Fl::SecretInput->new(0, 0, 250, 500);

The constructor creates a new widget using the given position, size, and label.

The widget's boxtype is FL_DOWN_BOX by default.

The destructor removes the widget.


Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


Sanko Robinson <>