Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
main_objetos
use Person; $object = new Person( "Mohammad", "Saleem", 23234345); # Get first name which is set using constructor. $firstName = $object->getFirstName(); print "Before Setting First Name is : $firstName\n"; # Now Set first name using helper function. $object->setFirstName( "Mohd." ); # Now get first name set by helper function. $firstName = $object->getFirstName(); print "Before Setting First Name is : $firstName\n";
run
|
edit
|
history
|
help
0
Basics
Perl Lang
base N conversion
reverse polish notation experiment
array flipper
Perl - Sort hash of filenames by file extension
neigh.pl
objetos
Perl
121JHgZzG4QMkDQwLJCifHAAsZAwvpqACY