Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: "Global Symbol Requires Explicit Package Name" error

by kutsu (Priest)
on Aug 10, 2005 at 20:09 UTC ( #482744=note: print w/ replies, xml ) Need Help??


in reply to Re^4: "Global Symbol Requires Explicit Package Name" error
in thread "Global Symbol Requires Explicit Package Name" error

I'd bet you can't open the '//163.../query.txt' file (I don't work with windows much but shouldn't / be \ instead), as that uninitialized value means $newrow[2] has nothing in it (might try a print "@newrow", "\n"; or use Data::Dumper; print Dumper @newrow; to check).

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce


Comment on Re^5: "Global Symbol Requires Explicit Package Name" error
Download Code
Re: "Global Symbol Requires Explicit Package Name" error
by benizi (Hermit) on Aug 11, 2005 at 17:51 UTC

    The '//ip-address/folder/file' format works fine for me, here. Just as with all backslashes in Windows filenames, Perl does the right thing. (Thank goodness FAT*/NTFS/etc. disallow '/'s in filenames.) I did get an error, however, if I didn't log in to the SAMBA server at my test IP address before running the script. So, that might be something to consider.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-12-25 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls