programming-examples/perl/Datatype
2019-11-15 12:59:38 +01:00
..
'equal' operator for digits.pl Initial commit 2019-11-15 12:59:38 +01:00
'Greater than or equal' operator.pl Initial commit 2019-11-15 12:59:38 +01:00
'Greater than', 'Less than' operator.pl Initial commit 2019-11-15 12:59:38 +01:00
'less than or equal' operator.pl Initial commit 2019-11-15 12:59:38 +01:00
'not equal' operator for digits.pl Initial commit 2019-11-15 12:59:38 +01:00
'use integer'.pl Initial commit 2019-11-15 12:59:38 +01:00
A program that contains a floating-point comparison.pl Initial commit 2019-11-15 12:59:38 +01:00
A program that displays integers and illustrates their size limitations.pl Initial commit 2019-11-15 12:59:38 +01:00
A program that displays various floating-point scalar values.pl Initial commit 2019-11-15 12:59:38 +01:00
A program that illustrates round-off error problems in floating-point arithmetic.pl Initial commit 2019-11-15 12:59:38 +01:00
A reference is a scalar variable pointing-or refering to-something else.pl Initial commit 2019-11-15 12:59:38 +01:00
Adding number to a string.pl Initial commit 2019-11-15 12:59:38 +01:00
Basic Perl Datatypes.pl Initial commit 2019-11-15 12:59:38 +01:00
Big float.pl Initial commit 2019-11-15 12:59:38 +01:00
Binary AND (&).pl Initial commit 2019-11-15 12:59:38 +01:00
Binary NOT (~).pl Initial commit 2019-11-15 12:59:38 +01:00
Binary number.pl Initial commit 2019-11-15 12:59:38 +01:00
Chop a number.pl Initial commit 2019-11-15 12:59:38 +01:00
Compare two values in the integer context.pl Initial commit 2019-11-15 12:59:38 +01:00
Concatenating a number and a string.pl Initial commit 2019-11-15 12:59:38 +01:00
Convert a number with the hex() or oct().pl Initial commit 2019-11-15 12:59:38 +01:00
Convert decimal to hex.pl Initial commit 2019-11-15 12:59:38 +01:00
Converting Strings to Numbers.pl Initial commit 2019-11-15 12:59:38 +01:00
Converting Time.pl Initial commit 2019-11-15 12:59:38 +01:00
Create new time based on the value from localtime.pl Initial commit 2019-11-15 12:59:38 +01:00
Creating and dereferencing a reference.pl Initial commit 2019-11-15 12:59:38 +01:00
Creating and Dereferencing Pointers.pl Initial commit 2019-11-15 12:59:38 +01:00
Creating reference for arrays.pl Initial commit 2019-11-15 12:59:38 +01:00
Currency Converter, Mark 2.pl Initial commit 2019-11-15 12:59:38 +01:00
Currency Converter.pl Initial commit 2019-11-15 12:59:38 +01:00
Declare an Integer.pl Initial commit 2019-11-15 12:59:38 +01:00
Demonstrates the reference syntax.pl Initial commit 2019-11-15 12:59:38 +01:00
Dereference pointer.pl Initial commit 2019-11-15 12:59:38 +01:00
Dereferencing a Reference.pl Initial commit 2019-11-15 12:59:38 +01:00
Dereferencing the Pointer.pl Initial commit 2019-11-15 12:59:38 +01:00
Direct Reference Techniques.pl Initial commit 2019-11-15 12:59:38 +01:00
Direct Scalar References.pl Initial commit 2019-11-15 12:59:38 +01:00
Exchange reference.pl Initial commit 2019-11-15 12:59:38 +01:00
Execute date command and get user input.pl Initial commit 2019-11-15 12:59:38 +01:00
Float point number literal.pl Initial commit 2019-11-15 12:59:38 +01:00
Float value calculation.pl Initial commit 2019-11-15 12:59:38 +01:00
Get a reference to a file handle by using '$ioreference = _name{IO};.pl Initial commit 2019-11-15 12:59:38 +01:00
Get reference of a range.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the reference of the return value from substr.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the reference to a scalar by using the form '$scalarreference = _name{SCALAR};.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the reference to a subroutine by using the form '$codereference = _name{CODE};.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the remainder.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the value from a reference.pl Initial commit 2019-11-15 12:59:38 +01:00
gmtime function converts a time value into Greenwich Mean Time.pl Initial commit 2019-11-15 12:59:38 +01:00
hex digit.pl Initial commit 2019-11-15 12:59:38 +01:00
hex(10), hex(0x10).pl Initial commit 2019-11-15 12:59:38 +01:00
hex(ab).pl Initial commit 2019-11-15 12:59:38 +01:00
hex(FFG).pl Initial commit 2019-11-15 12:59:38 +01:00
Hexadecimal and octal numbers.pl Initial commit 2019-11-15 12:59:38 +01:00
hexadecimal data.pl Initial commit 2019-11-15 12:59:38 +01:00
Hexadecimal number.pl Initial commit 2019-11-15 12:59:38 +01:00
How much storage your computer allows, change your program again to this.pl Initial commit 2019-11-15 12:59:38 +01:00
How Strings Are Converted to Numbers.pl Initial commit 2019-11-15 12:59:38 +01:00
Illegal binary number- with 2 inside.pl Initial commit 2019-11-15 12:59:38 +01:00
Illegal Hex number with G.pl Initial commit 2019-11-15 12:59:38 +01:00
Illegal octal number- with 8 inside.pl Initial commit 2019-11-15 12:59:38 +01:00
Increments Reference.pl Initial commit 2019-11-15 12:59:38 +01:00
int 1.999,int 2.001.pl Initial commit 2019-11-15 12:59:38 +01:00
Integer type variable.pl Initial commit 2019-11-15 12:59:38 +01:00
Is leap year subroutine.pl Initial commit 2019-11-15 12:59:38 +01:00
localtime converts a time into the local time.pl Initial commit 2019-11-15 12:59:38 +01:00
Math calculation on integer.pl Initial commit 2019-11-15 12:59:38 +01:00
Miles-to-kilometers converter.pl Initial commit 2019-11-15 12:59:38 +01:00
Nested reference.pl Initial commit 2019-11-15 12:59:38 +01:00
Number can be expressed by ###_###_### for ###,###,###.pl Initial commit 2019-11-15 12:59:38 +01:00
Number systems.pl Initial commit 2019-11-15 12:59:38 +01:00
Numeric Literal Formats and Notation.pl Initial commit 2019-11-15 12:59:38 +01:00
Numeric Literals.pl Initial commit 2019-11-15 12:59:38 +01:00
oct(178).pl Initial commit 2019-11-15 12:59:38 +01:00
octal data.pl Initial commit 2019-11-15 12:59:38 +01:00
Octal number.pl Initial commit 2019-11-15 12:59:38 +01:00
Octal numerals starting with 0x.pl Initial commit 2019-11-15 12:59:38 +01:00
operator returns 0 or -1 or 1.pl Initial commit 2019-11-15 12:59:38 +01:00
Perl 5 Dereferencing Operators.pl Initial commit 2019-11-15 12:59:38 +01:00
Perl 5 Numeric Formats.pl Initial commit 2019-11-15 12:59:38 +01:00
Perl 5 Reference Assignments.pl Initial commit 2019-11-15 12:59:38 +01:00
Print a couple of integer literals in Perl.pl Initial commit 2019-11-15 12:59:38 +01:00
Print number out.pl Initial commit 2019-11-15 12:59:38 +01:00
Print out the current time in standard time.pl Initial commit 2019-11-15 12:59:38 +01:00
Reading float point number from keyboard.pl Initial commit 2019-11-15 12:59:38 +01:00
Reads any kind of integer.pl Initial commit 2019-11-15 12:59:38 +01:00
Reference is a scalar variable.pl Initial commit 2019-11-15 12:59:38 +01:00
Reference Modification.pl Initial commit 2019-11-15 12:59:38 +01:00
References to references.pl Initial commit 2019-11-15 12:59:38 +01:00
References, Pointers.pl Initial commit 2019-11-15 12:59:38 +01:00
Return Values from the ref Function.pl Initial commit 2019-11-15 12:59:38 +01:00
Scalar Context versus List Context.pl Initial commit 2019-11-15 12:59:38 +01:00
scalar(localtime(time())).pl Initial commit 2019-11-15 12:59:38 +01:00
Set the value of localtime to a scalar variable, you'll get a typical UNIX-style time.pl Initial commit 2019-11-15 12:59:38 +01:00
Splitting Local Time.pl Initial commit 2019-11-15 12:59:38 +01:00
Splitting Time.pl Initial commit 2019-11-15 12:59:38 +01:00
String (with digits) is converted to number during the math operation.pl Initial commit 2019-11-15 12:59:38 +01:00
String (without digits) is converted to number during the math operation.pl Initial commit 2019-11-15 12:59:38 +01:00
String is converted to a number automatically.pl Initial commit 2019-11-15 12:59:38 +01:00
Switch Time.pl Initial commit 2019-11-15 12:59:38 +01:00
The result when these two strings are compared depends on whether a string or integer comparison is being performed.pl Initial commit 2019-11-15 12:59:38 +01:00
The return values of the ref function- 10.pl Initial commit 2019-11-15 12:59:38 +01:00
The return values of the ref function- array.pl Initial commit 2019-11-15 12:59:38 +01:00
The return values of the ref function- function.pl Initial commit 2019-11-15 12:59:38 +01:00
The return values of the ref function- ref( -_hash ).pl Initial commit 2019-11-15 12:59:38 +01:00
The return values of the ref function- ref( --@array ).pl Initial commit 2019-11-15 12:59:38 +01:00
Time of Day.pl Initial commit 2019-11-15 12:59:38 +01:00
To disable integer math within a block.pl Initial commit 2019-11-15 12:59:38 +01:00
To extract the current date by using time and localtime.pl Initial commit 2019-11-15 12:59:38 +01:00
Using $$ to get the value of the reference.pl Initial commit 2019-11-15 12:59:38 +01:00
Using hex function to convert octal number to Hexadecimal number.pl Initial commit 2019-11-15 12:59:38 +01:00
Using int() to convert 1.99999 to an integer.pl Initial commit 2019-11-15 12:59:38 +01:00
Using int() to convert 1.000001 to an integer.pl Initial commit 2019-11-15 12:59:38 +01:00
Using Numbers in Scalar Variables.pl Initial commit 2019-11-15 12:59:38 +01:00
Using oct function to convert number to octal numbers.pl Initial commit 2019-11-15 12:59:38 +01:00
Using ref function on a subroutine reference.pl Initial commit 2019-11-15 12:59:38 +01:00
Using ref function to check the parameter type.pl Initial commit 2019-11-15 12:59:38 +01:00
Using ref function to get the type of the reference.pl Initial commit 2019-11-15 12:59:38 +01:00
Using ref inside a function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using the _ (under score) in float point number.pl Initial commit 2019-11-15 12:59:38 +01:00
What happens if we try and join a number to a string.pl Initial commit 2019-11-15 12:59:38 +01:00