answersLogoWhite

0


Best Answer

The perl time function is used for the determination for how many seconds have passed since a certain date (most commonly Jan 1st 1970) you can find various methods online to determine this as well as other things such as checking of a leap year, determining the day and many more.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the perl time function used for?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the role of the grep function in the Perl programming language?

The grep function in Perl is the command-line function which can be used to search in a data set for lines which match a regular expression. The grep function is essentially a tool that can be used to search for particular information within the data.


How does one use the Perl chomp function?

The Perl Chomp function is a programming function that remove the "newline" character at the end of the string. One can use the Perl Chomp function to remove any character that has the same value as the current one.


What can the Faker from Perl be used for?

The Faker from Perl can be used to generate fake data. If Faker is used while writing in the Perl programming language then fake data will be created and can be used to test various formats of data.


Can you use Perl regular expressions in PHP?

Yes, by using the preg_match() function


Which operator is used to compare strings in Perl?

eq

Related questions

How does one use the perl split function?

The Perl split function is used to split a string into smaller section. One can find a guide on how to use a Perl split function on various websites including Perlmeme.


What is the role of the grep function in the Perl programming language?

The grep function in Perl is the command-line function which can be used to search in a data set for lines which match a regular expression. The grep function is essentially a tool that can be used to search for particular information within the data.


How does one use the Perl chomp function?

The Perl Chomp function is a programming function that remove the "newline" character at the end of the string. One can use the Perl Chomp function to remove any character that has the same value as the current one.


How do you extract function name from a c program using PERL?

What function do you mean? Any function defined in a source file? Or any function used in a source file? Be more specific.


What can the Faker from Perl be used for?

The Faker from Perl can be used to generate fake data. If Faker is used while writing in the Perl programming language then fake data will be created and can be used to test various formats of data.


Can you use Perl regular expressions in PHP?

Yes, by using the preg_match() function


Which operator is used to compare strings in Perl?

eq


What Linux file attributes are used for executing Perl scripts?

File attributes are not specifically used to run Perl scripts (ie. you can run them without setting or changing them).


What are some facts about Perl?

Perl is a programming language. Perl is an interpreted programming language. Perl is very useful for shell scripts, application programming, and web applications. Perl is quite easy to learn. Perl can be, but does not have to be, object-oriented. Perl was created by Larry Wall. Perl has probably the best implementation of regular expressions in existence.


Is PERL an interpreted or compiled programming language?

Perl is both compiled and interpreted language. In the traditional sense, Perl is a pure interpreted language. The reference Perl program is a prototypical two-stage interpreter: when a Perl script is invoked via #!/bin/perl (or similar), the perl interpreter performs a language parsing on the source code, creating an internal (to the perl interpreter) representation of program, which is then translated into binary code for execution. Every invocation of a perl program requires this translation/interpretation to be completed. There are several projects which can take perl source code and compile it down to a binary executable (that is, bypass the whole repeated translate/interpret phase each time). However, these are NOT complete - even the best can only manage about 95% of the perl code available. That is, these perl compiler are incomplete implementations of the Perl language. They can be very useful, but are not complete substitutes for the Perl interpreter. The real answer is that Perl was designed to be an interpreted language from the start; attempts to turn Perl into a compiled language are faced with the difficulty of Perl's sprawling syntax and complete lack of design for compilation, and thus, struggle to implement all the languages features in a compiler.


Where are array of functions used?

Function Pointers are basically used when we want to select a function which is to be used dynamically at run time.


Where can one find information about Learning Perl?

There are a number of sites that provide information about how to learn the Perl programming language. They include Learn Perl, Learning Perl and Perl Tutorial Hub. Amazon and other good booksellers have a wide range of Perl books available.