Website hosting service by Active-Venture.com
  

 Back to Index

Miscellaneous Functions

fbm_compile

Analyses the string in order to make fast searches on it using fbm_instr() -- the Boyer-Moore algorithm.

 
	void	fbm_compile(SV* sv, U32 flags)  

fbm_instr

Returns the location of the SV in the string delimited by str and strend. It returns Nullch if the string can't be found. The sv does not have to be fbm_compiled, but the search will not be as fast then.

 
	char*	fbm_instr(unsigned char* big, unsigned char* bigend, SV* littlesv, U32 flags)  

form

Takes a sprintf-style format pattern and conventional (non-SV) arguments and returns the formatted string.

 
    (char *) Perl_form(pTHX_ const char* pat, ...)  

can be used any place a string (char *) is required:

 
    char * s = Perl_form("%d.%d",major,minor);  

Uses a single private buffer so if you want to format several strings you must explicitly copy the earlier strings away (and free the copies when you are done).

 
	char*	form(const char* pat, ...)  

getcwd_sv

Fill the sv with current working directory

 
	int	getcwd_sv(SV* sv)  

strEQ

Test two strings to see if they are equal. Returns true or false.

 
	bool	strEQ(char* s1, char* s2)  

strGE

Test two strings to see if the first, s1, is greater than or equal to the second, s2. Returns true or false.

 
	bool	strGE(char* s1, char* s2)  

strGT

Test two strings to see if the first, s1, is greater than the second, s2. Returns true or false.

 
	bool	strGT(char* s1, char* s2)  

strLE

Test two strings to see if the first, s1, is less than or equal to the second, s2. Returns true or false.

 
	bool	strLE(char* s1, char* s2)  

strLT

Test two strings to see if the first, s1, is less than the second, s2. Returns true or false.

 
	bool	strLT(char* s1, char* s2)  

strNE

Test two strings to see if they are different. Returns true or false.

 
	bool	strNE(char* s1, char* s2)  

strnEQ

Test two strings to see if they are equal. The len parameter indicates the number of bytes to compare. Returns true or false. (A wrapper for strncmp).

 
	bool	strnEQ(char* s1, char* s2, STRLEN len)  

strnNE

Test two strings to see if they are different. The len parameter indicates the number of bytes to compare. Returns true or false. (A wrapper for strncmp).

 
	bool	strnNE(char* s1, char* s2, STRLEN len)  

 

  

 

Domain name registration - 
Register cheap domain name from $7.95 and enjoy free domain services 
 

Cheap domain name search service -
Domain name services at just
$8.95/year only
 

Register domain name -
Buy domain name registration and cheap domain transfer at low, affordable price.

© 2002-2004 Active-Venture.com Web Site Hosting Service

 

[ Reading computer manuals without the hardware is as frustrating as reading sex manuals without the software.   ]

 

 
 
 

Disclaimer: This documentation is provided only for the benefits of our web hosting customers.
For authoritative source of the documentation, please refer to http://www.perldoc.com