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

RE: RE: RE: RE: RE: RE: RE: RE: Re: Inputing info into Nested Arrays

by MadraghRua (Vicar)
on Aug 28, 2000 at 22:32 UTC ( [id://30023]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: RE: RE: RE: RE: RE: Re: Inputing info into Nested Arrays
in thread Inputing info into Nested Arrays

The function reserved_word is different to $reserved_word and @reserved_word. The use of $, @, or % means that they don't conflict with reserved words. What you do have to watch out for are conflicts with nonvariable identifiers such as labels and filehandles. Usually these last two are all in UpperCase, as in his script.

If you are truly uncomfortable and want to avoid using reserved words in variable names, you could simply globally change the variable names.

No, the script worked pretty much straight out of the box. What did cause some amusement was forgetting to include all the pipes in the text delimited file - that one caused a deal of amusement until it was caught.

The only other thing that caused some difficulty was using the GUI front end to load and edit data - this was sometimes very slow and I'm not sure why, perhaps something to do with the file locking mechanism.

MadraghRua
yet another biologist hacking perl....

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-29 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found