Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: syntax questions

by igelkott (Curate)
on Mar 06, 2013 at 22:25 UTC ( #1022107=note: print w/ replies, xml ) Need Help??

in reply to syntax questions


Sometimes it's useful to be clarify what's part of the variable name and what isn't, especially in strings. In this case, it wasn't needed but if it was ${wfid}_1.txt, it would be necessary.

file handler FILELIST adding members to $filelist

Not quite. FILELIST represents the file (given in $filelist) and the "foreach" loop is adding to the file identified by FILELIST. Maybe it's just semantics but that's the way I read it.

why is it preceded by &
Using the & for function calls is archaic and seriously deprecated. Is this code from Perl 4?

Comment on Re: syntax questions
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2015-10-13 17:10 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (311 votes), past polls