NAME
demo_extractor.pl - Demonstrate the schema extractor
DESCRIPTION
This script demonstrates the schema extractor by: 1. Creating a temporary sample module 2. Running the extractor on it 3. Showing the generated schemas 4. Comparing them to expected results
NAME
Sample - Example module for testing
validate_email($email)
Validates an email address.
Parameters: $email - string (5-254 chars), email address
Returns: 1 if valid
calculate_age($birth_year)
Calculate age from birth year.
Parameters: $birth_year - integer (1900-2024), year of birth
Returns: age in years
greet($name, $greeting)
Generate greeting.
Parameters: $name - string (1-50 chars), person's name $greeting - string (optional), custom greeting
Returns: greeting string
mystery($x)
Does something mysterious.