Re: 2 newbie questions

2003-10-10 Thread Jeff Westman
Bee <[EMAIL PROTECTED]> wrote:

> hello all, 
> 
> I've just start my learning on perl, and recently still learning some basic
> syntax.
> So I hope my question is still making sense.
> 
> I am now learning about how to write files and wondering is that possible
> to inserting / overwriting bytes in files ( text / binary ). and I am on
> Win32.

Yes -- See "perldoc read" and "perldoc seek".  Basically, you find where in
the file you want to replace text (the offset) then replace from there.

>  Also, I am still learning how to use perldoc, and I found something is
> tutorial...
> so.. would anybody tell how many tutorials inside and what are they ?

There are tons of online tutorials, but you should start with the perl
documentation first.  'perldoc' has several forms, bascically,

   perldoc PACKAGE or DOCUMENTATION   (example above)
   perldoc -q "some search criteria   (q = query)
   perldoc -f "some function" (example: perldoc -f print)

Start with 'perldoc perl'.

Hope that gets you started.

-Jeff


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



2 newbie questions

2003-10-10 Thread Bee
hello all, 

I've just start my learning on perl, and recently still learning some basic syntax.
So I hope my question is still making sense.

I am now learning about how to write files and wondering is that possible
to inserting / overwriting bytes in files ( text / binary ). and I am on Win32.

Also, I am still learning how to use perldoc, and I found something is tutorial...
so.. would anybody tell how many tutorials inside and what are they ?

thank a lot