Thiago Burin wrote:

>  Hi,
> 
>  First of all, I would like to say  I am a beginner.
> 
>  Well, I have had a problem with the "open" function. I wrote the 
> following code:
> 
>   --   open in , "c:\text1.txt" or die "error reason: $!\n";
> 
>  I intended to open an existing file to write on it. However, whenever I 
> run this code an error message appear: "Invalid Argument". I have tryied 
> lots of changes in the code, but they weren't successfull! Could anybody 
> help me? Is it a library problem?


I'm going to stomp on you a little to make sure you won't be in the future. :)

1) Please post in plain text only.

2) \t is a tab in your file name.  You can use \\ instead of \ or use /
instead.

3) Good idea to capitalize filehandles - eg: FH, IN, OUT.


-- 
   ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to