since there is no specific section for 'doing something
differently on the first or last iteration of a loop'
i decided to read the perl pocket ref from page 1 and figure
that i'd stumble across it eventually...
i'd gotten as far as page seven when the world as i knew
it changed dramatically...
i read (for the first time) about the difference between
'$x' and "$x"
as someone who is (mostly) self-taught in perl i am
always astounded to find these things out
i remember once asking what the difference beween the
single and double quotes were and being told (or at least <italic)hearing</italic>)
'nothing, you can even use que-que-bang (qq!) for the same thing.'
well as it turns out, '$x' = '$x' and "$x" = "how existential"
you see they say that single quotes mean a literal string.
i'm sure many of you know about litteral strings as second
nature but the real truth is, none of us really know how
little we know. Sometimes, when you're lucky enough to
capture a glimpse of that, the possibilities become staggering.
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: it is amazing sometimes how little you know...
by maverick (Curate) on Jul 05, 2000 at 21:27 UTC | |
by ZZamboni (Curate) on Jul 06, 2000 at 19:01 UTC | |
by Adam (Vicar) on Jul 05, 2000 at 22:30 UTC | |
RE: it is amazing sometimes how little you know...
by barndoor (Pilgrim) on Jul 05, 2000 at 20:34 UTC | |
by BBQ (Curate) on Jul 06, 2000 at 02:53 UTC | |
by davorg (Chancellor) on Jul 06, 2000 at 11:53 UTC | |
RE: it is amazing sometimes how little you know...
by Buckaroo Buddha (Scribe) on Jul 05, 2000 at 17:46 UTC | |
RE: it is amazing sometimes how little you know...
by redmist (Deacon) on Jul 07, 2000 at 22:20 UTC |