Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re: Pick Up Files and put contents into variables

by Vennis (Pilgrim)
on Aug 30, 2002 at 11:37 UTC ( [id://194070]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Pick Up Files and put contents into variables
in thread Pick Up Files and put contents into variables

Well, basically, what you want is reading a file, splitting it into a array, using split, split on the seperating character, which, in your example would be an space.

Then put the list into the desired variables.

First read the directory using readdir, and finally remove them using unlink.

  • Comment on Re: Re: Re: Pick Up Files and put contents into variables

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found