Paste number 9855: perl oddity

Index of paste annotations: 1

Paste number 9855: perl oddity
Pasted by: dmacks
When:5 years, 2 weeks ago
Share:Tweet this! | http://paste.lisp.org/+7LR
Channel:#fink
Paste contents:
Raw Source | XML | Display As
Works:
  use POSIX qw(:termios_h tcflush);

Doesn't:
  use POSIX qw(tcflush :termios_h);

Annotations for this paste:

Annotation number 1: With 10.3's perl-5.8.1
Pasted by: dmacks
When:5 years, 2 weeks ago
Share:Tweet this! | http://paste.lisp.org/+7LR/1
Paste contents:
Raw Source | Display As
% perl -e 'use POSIX qw(tcflush :termios_h);'
":termios_h" is not exported by the POSIX module
Can't continue after import errors at /System/Library/Perl/5.8.1/darwin-thread-multi-2level/POSIX.pm line 19
BEGIN failed--compilation aborted at -e line 1.

Colorize as:
Show Line Numbers
Index of paste annotations: 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.