File: nonl.pl

package info (click to toggle)
libio-prompt-perl 0.997001-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 276 kB
  • sloc: perl: 846; makefile: 2
file content (9 lines) | stat: -rwxr-xr-x 202 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#! /usr/bin/perl -w

# Sometimes it's useful to change &prompt's response to a newline...

use IO::Prompt;

prompt "type something: ", -nl => '';

prompt " and something else -->", -newline => "<--\n";