Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: + sign in array value

by spectre9 (Beadle)
on Oct 18, 2007 at 17:58 UTC ( [id://645793]=note: print w/replies, xml ) Need Help??


in reply to + sign in array value

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: + sign in array value
by ikegami (Patriarch) on Oct 18, 2007 at 18:10 UTC

    Please ignore spectre9's post completely.

    No conversion/casting is done when assigning a scalar to a scalar (such as an array element).

    No conversion/casting is done when assigning a list to an array.

    There's no requirements for all elements of an array to be of the same type.

    Existing elements have no effect on elements added to an array.

    You could have spent five seconds checking to find out that the + is acceptable instead of spending the time saying it might not be.

    >perl -wle "print 1E+04" 10000

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://645793]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found