Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Unreferenced scalar?

by HamNRye (Monk)
on May 19, 2008 at 17:31 UTC ( [id://687429]=note: print w/replies, xml ) Need Help??


in reply to Re: Unreferenced scalar?
in thread Unreferenced scalar?

Yes, I've tried only including one element, and I still get the same error.

Replies are listed 'Best First'.
Re^3: Unreferenced scalar?
by psini (Deacon) on May 19, 2008 at 17:41 UTC

    Can you try substituting my @info = get_file($savename); with print $savename;?

    I'm sorry but I can't duplicate your environment and so I can't do any check by myself :(

    Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.

      No problem...

      \\richnas1\newsdata\brides\0000823666-01.txt

      That's the output of printing the $savename variable.

        A very last idea: I never used perl on Winows, but I have had some bad experiences using Word via OLE2 from Borland Delphi.

        I remember having had timing problems in a similar context: tell word to open a file, do things (mainly macro) , save, and close, and then if you try to open the file just saved it is locked! Never worked out exactly the cause, but it was avoided inserting a delay after closing Word and before attempting to open the saved file

        Try a sleep before the call to get_file...

        Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-29 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found