Difference between revisions of "Perl built-in functions"
Jump to navigation
Jump to search
m (post-import cleanup of navbar) |
m (→Alphabetical: letter headers) |
||
Line 1: | Line 1: | ||
{{seed}}[[Computing]]: [[Programming]]: [[Perl]]: [[Perl built-in functions|built-in functions]] | {{seed}}[[Computing]]: [[Programming]]: [[Perl]]: [[Perl built-in functions|built-in functions]] | ||
==Alphabetical== | ==Alphabetical== | ||
+ | ===A=== | ||
*'''abs'''(''arg'') - returns absolute value of ''arg'' | *'''abs'''(''arg'') - returns absolute value of ''arg'' | ||
*'''accept'''() | *'''accept'''() | ||
*'''alarm'''(''$seconds'') - sends an alarm signal after ''$seconds'' seconds | *'''alarm'''(''$seconds'') - sends an alarm signal after ''$seconds'' seconds | ||
*'''atan2'''(''$y'',''$x'') - returns the arctangend of ''$y''/''$x'' | *'''atan2'''(''$y'',''$x'') - returns the arctangend of ''$y''/''$x'' | ||
+ | ===B=== | ||
*'''bind'''() | *'''bind'''() | ||
*'''binmode'''(''filehandle'') - sets ''filehandle'' to be treated as binary | *'''binmode'''(''filehandle'') - sets ''filehandle'' to be treated as binary | ||
*'''bless'''() | *'''bless'''() | ||
+ | ===C=== | ||
*'''caller'''() | *'''caller'''() | ||
*'''chdir'''() | *'''chdir'''() | ||
Line 21: | Line 24: | ||
*'''cos'''() | *'''cos'''() | ||
*'''crypt'''() | *'''crypt'''() | ||
+ | ===D=== | ||
*'''dbmclose'''() | *'''dbmclose'''() | ||
*'''dbmopen'''() | *'''dbmopen'''() | ||
Line 28: | Line 32: | ||
*'''do''' ''subroutine'' | *'''do''' ''subroutine'' | ||
*'''dump'''() | *'''dump'''() | ||
+ | ===E=== | ||
*'''each'''() | *'''each'''() | ||
*'''endgrent''' | *'''endgrent''' | ||
Line 41: | Line 46: | ||
*'''exit'''() | *'''exit'''() | ||
*'''exp'''() | *'''exp'''() | ||
+ | ===F=== | ||
*'''fcntl'''() | *'''fcntl'''() | ||
*'''fileno'''() | *'''fileno'''() | ||
Line 47: | Line 53: | ||
*'''format''' | *'''format''' | ||
*'''formline'''() | *'''formline'''() | ||
+ | ===G=== | ||
*'''getc'''() | *'''getc'''() | ||
*'''getgrent''' | *'''getgrent''' | ||
Line 77: | Line 84: | ||
*'''goto'''() | *'''goto'''() | ||
*'''grep'''() | *'''grep'''() | ||
+ | ===H=== | ||
*'''hex'''() | *'''hex'''() | ||
+ | ===I=== | ||
*'''index'''() | *'''index'''() | ||
*'''int'''() | *'''int'''() | ||
*'''ioctl'''() | *'''ioctl'''() | ||
+ | ===J=== | ||
*'''join'''() | *'''join'''() | ||
+ | ===K=== | ||
*'''keys'''() | *'''keys'''() | ||
*'''kill'''() | *'''kill'''() | ||
+ | ===L=== | ||
*'''last'''() | *'''last'''() | ||
*'''lc'''(''string'') - returns ''string'' in lowercase | *'''lc'''(''string'') - returns ''string'' in lowercase | ||
*'''lcfirst'''(''string'') - returns ''string'' with first character lowercased | *'''lcfirst'''(''string'') - returns ''string'' with first character lowercased |
Revision as of 14:55, 23 February 2006
This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!
|
Computing: Programming: Perl: built-in functions
Alphabetical
A
- abs(arg) - returns absolute value of arg
- accept()
- alarm($seconds) - sends an alarm signal after $seconds seconds
- atan2($y,$x) - returns the arctangend of $y/$x
B
- bind()
- binmode(filehandle) - sets filehandle to be treated as binary
- bless()
C
- caller()
- chdir()
- chmod()
- chomp()
- chop()
- chown()
- chr()
- chroot()
- close()
- closedir()
- connect()
- cos()
- crypt()
D
- dbmclose()
- dbmopen()
- defined()
- delete()
- die()
- do subroutine
- dump()
E
- each()
- endgrent
- endhostent
- endnetent
- endprotoent
- endpwent
- endservent
- eof()
- eval()
- exec()
- exists($assoc($key)) - returns TRUE if $key exists within the hash $assoc. Doesn't work with dbm hashes.
- exit()
- exp()
F
- fcntl()
- fileno()
- flock()
- fork
- format
- formline()
G
- getc()
- getgrent
- getgrgid()
- getgrnam()
- gethostbyaddr()
- gethostbyname()
- gethostent
- getlogin
- getnetbyaddr()
- getnetbyname()
- getnetent
- getpeername()
- getpgrp()
- getppid
- getpriority()
- getprotobyname()
- getprotobynumber()
- getprotoent
- getpwent
- getpwnam()
- getpwuid()
- getserverbyname()
- getserverbyport()
- getservent
- getsockname()
- getsockopt()
- glob()
- gmtime()
- goto()
- grep()
H
- hex()
I
- index()
- int()
- ioctl()
J
- join()
K
- keys()
- kill()
L
- last()
- lc(string) - returns string in lowercase
- lcfirst(string) - returns string with first character lowercased