login::
pass::
name::
id::
node:
20.02.2006-22:32:20
template:
4
parent:
Perl
owner:
forcer
viewed by:
created:
20.02.2006 - 22:35:38
cwbe coordinatez
:
101
63540
2076399
1655002
2182562
ABSOLUT
K
YBERIA
permissions
you:
r,
system:
public
net:
yes
так
neurons
stats
|
by_visit
|
by_K
source
tiamat
K
|
my_K
|
given_K
last
commanders
polls
total descendants::
total children::3
show[
2
|
3
]
flat
mam tu pre vas taky mensi chytak, kto okrem luba zisti kde je chyba ? upozornujem ze to nie je o matematike ale o syntaxi jazyka :)
""
print (5*2)*3;
print "n";
print 5*(2*3);
print "n";
""
title/content
title
content
user
000001010006354002076399016550020218256202196240
sine
27.02.2006 - 10:34:49
[
1K
] , level: 1,
UP
NEW
Re[5]: 20.02.2006-22:32:20
The functions described in this chapter may be used either with or without parentheses around their
arguments. (The syntax descriptions omit the parentheses.) If you use the parentheses, the simple (but
occasionally surprising) rule is this: if it looks like a function, it is a function, and precedence doesn't
matter. Otherwise it's a list operator or unary operator, and precedence does matter. And whitespace
between the function and its left parenthesis doesn't count--so you need to be careful sometimes:
print 1+2+3; # Prints 6.
print(1+2) + 3; # Prints 3.
print (1+2)+3; # Also prints 3!
print +(1+2)+3; # Prints 6.
print ((1+2)+3); # Prints 6.
Je to v jednej o'reilly-ovke vysvetlovane hned na zaciatku.
00000101000635400207639901655002021825620219624002210758
ksyz
05.03.2006 - 19:53:21
, level: 2,
UP
NEW
Re[6]: 20.02.2006-22:32:20
nei vsetci maju plne policky o'reilly-oviek ;]
0000010100063540020763990165500202182562021962400221075802211181
sine
05.03.2006 - 22:51:10
, level: 3,
UP
NEW
Re[7]: 20.02.2006-22:32:20
tu o ktorej som sa zmienil som nasiel na firemnej sieti.
resp ti co nemaju na policke si vedia vygooglit.
000001010006354002076399016550020218256202196240022107580221118102247051
forcer
20.03.2006 - 09:53:42
, level: 4,
UP
NEW
Re[8]: 20.02.2006-22:32:20
ja som na to prisiel aj bez nejakej mudrej knihy, vieeees ? :)
00000101000635400207639901655002021825620219624002210758022111810224705102247099
uz.nebudem.tolko.fetovat
20.03.2006 - 10:14:14
, level: 5,
UP
NEW
Re[9]: 20.02.2006-22:32:20
0000010100063540020763990165500202182562021962400221075802211181022470510224709902268212
ksyz
28.03.2006 - 13:39:40
, level: 6,
UP
NEW
Re[10]: 20.02.2006-22:32:20
00000101000635400207639901655002021825620219624002202156
forcer
01.03.2006 - 17:39:07
, level: 2,
UP
NEW
Re[6]: 20.02.2006-22:32:20
hehe :)
vidis, ze to je napisane v nejakej knihe som ani n~vedel
000001010006354002076399016550020218256202192329
ksyz
25.02.2006 - 09:16:29
, level: 1,
UP
NEW
Re: 20.02.2006-22:32:20
ok, pozeralsom perlsyn a nemam zdanie o co go :] ... neni tam nieco s "" ?
00000101000635400207639901655002021825620219232902192427
forcer
25.02.2006 - 11:02:34
, level: 2,
UP
NEW
Re[2]: 20.02.2006-22:32:20
nie, tie uvodzovky len hohranicuju kod :)
0000010100063540020763990165500202182562021923290219242702192686
ksyz
25.02.2006 - 13:28:42
, level: 3,
UP
NEW
Re[3]: 20.02.2006-22:32:20
ok, tak pri vsetkej svojej neznalozti perlu predpokladam, ze funkcia ma () dobrovolne, cize pre prvy print ich vyhodnoti a preda parametre print a *3 v podstate zahodi a pri druhom preda cely vyraz
az teraz som si ro skusal spustat, predtym som nevedel ani o co go :]
a daj uz riesenie :]
000001010006354002076399016550020218256202192329021924270219268602196099
uz.nebudem.tolko.fetovat
27.02.2006 - 09:39:32
, level: 4,
UP
NEW
Re[4]: 20.02.2006-22:32:20
trosku krkolomne vyjadrene, ale v podstate mas pravdu
000001010006354002076399016550020218256202183292
uz.nebudem.tolko.fetovat
21.02.2006 - 10:48:00
, level: 1,
UP
NEW
Re: 20.02.2006-22:32:20
:) pocuj je to fakt take okate, alebo ti kyberia z toho nieco stripla?
00000101000635400207639901655002021825620218329202183332
forcer
21.02.2006 - 11:02:06
, level: 2,
UP
NEW
Re[2]: 20.02.2006-22:32:20
ja som vedel ze sa ozves :) nestripla, len ma zaujima ci to niekoho napadne..
mna to v prvu ranu vobec nenapadlo.. myslel som si ze to je bug perlu :)
0000010100063540020763990165500202182562021832920218333202183372
uz.nebudem.tolko.fetovat
21.02.2006 - 11:21:17
, level: 3,
UP
NEW
Re[3]: 20.02.2006-22:32:20
ty fetujes.