Top "Built-in" questions

Built-in functions, modules and classes are standard parts of a programming language or framework.

How do I use Perl's localtime with print to get the timestamp?

I have used the following statements to get the current time. print "$query executed successfully at ",localtime; print "$query executed …

perl built-in
Does Java have mutable types for Integer, Float, Double, Long?

I am in a situation where I want to use mutable versions of things like Integer. Do I have to …

java numbers integer mutable built-in
Exponentials in python: x**y vs math.pow(x, y)

Which one is more efficient using math.pow or the ** operator? When should I use one over the other? So …

python math built-in pow
how to avoid sql injection in codeigniter

In CodeIgniter, how can I avoid sql injection? Is there any method to set in config file to avoid sql …

function codeigniter sql-injection built-in data-security
What does shift() do in Perl?

What could the following line possibly mean? my $x = shift;

perl built-in
Python sum, why not strings?

Python has a built in function sum, which is effectively equivalent to: def sum2(iterable, start=0): return start + reduce(operator.…

python types sum built-in
How is the 'is' keyword implemented in Python?

... the is keyword that can be used for equality in strings. >>> s = 'str' >>> s …

python python-datamodel built-in
Merge two objects in Python

Is there a good way to merge two objects in Python? Like a built-in method or fundamental library call? Right …

python object dictionary merge built-in
Don't display pushd/popd stack across several bash scripts (quiet pushd/popd)

Each time I use pushd or popd, it print the stack to standard output. How not to do so? I …

bash output built-in
Performance of built-in types : char vs short vs int vs. float vs. double

This may appear to be a bit stupid question but seeing Alexandre C's reply in the other topic, I'm curious …

c++ c performance built-in