Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: syntax questions

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


in reply to syntax questions

${wfid}

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?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2025-11-09 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (65 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.