Perl Home
PERL Functions
© 2011 TutorialsPoint.COM
|
PERL getc Function
Syntax
Definition and Usage
Reads the next character from FILEHANDLE (or STDIN if none specified), returning
the value.
Return Value
Example
Try following example:
#!/usr/bin/perl
$key = getc(STDIN);
print "Entred value is $key\n";
|
|

|
|
|