answersLogoWhite

0


Best Answer

When you ask questions like this, you need to specify what format your data is in.

A common format is CSV. I believe that Excel accepts CSV format. Maybe if you write your file in CSV and change it from yourfile.txt to yourfile.csv, then Excel will be able to read it properly. Or maybe you'll have to search through the Excel options for CSV. If I'm wrong and Excel can't read CSV, then I for one have no idea what Excel's format is like.

CSV is quite simple. You write out each row of the spreadsheet as a line of text, and you separate the columns using commas.

Example:

Year,Sales,Profit

2006,42018,6320

2007,44619,7706

2008,47328,9584

2009,41621,-800

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the program to fetch a notepad contents to the Excel sheet using Perl?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How would you describe the fetch execute cycle?

Fetch Execute Cycle A more complete form of the Instruction Fetch Execute Cycle can be broken down into the following steps: 1. Fetch Cycle 2. Decode Cycle 3. Execute Cycle 4. Interrupt Cycle 1. Fetch Cycle The fetch cycle begins with retrieving the address stored in the Program Counter (PC). The address stored in the PC is some valid address in the memory holding the instruction to be executed. (In case this address does not exist we would end up causing an interrupt or exception).The Central Processing Unit completes this step by fetching the instruction stored at this address from the memory and transferring this instruction to a special register - Instruction Register (IR) to hold the instruction to be executed. The program counter is incremented to point to the next address from which the new instruction is to be fetched. 2. Decode Cycle The decode cycle is used for interpreting the instruction that was fetched in the Fetch Cycle. The operands are retrieved from the addresses if the need be. 3. Execute Cycle This cycle as the name suggests, simply executes the instruction that was fetched and decoded


How does the CPU differentiate between command and data?

In general the only difference between commands, or instructions, and data is the context in which each appears. If the CPU is fetching the contents of memory to get the next instruction, then it assumes that the Program Counter register points to commands. If the CPU is executing an instruction that needs to fetch data from memory, the data at the address specified by the instruction are fetched, assuming that the address points to data. This is what allows a program to be loaded into memory in the first place; the part of the operation system responsible for this operation treats the program as data, loading it into memory as instructed in the file. Then the OS branches to a specified place within that memory and begins fetching instructions there. This blurring between instructions and data has also been used in the past to allow a program to modify itself as it executes. This is usually considered poor practice; some operating systems, such as HP's OpenVMS, even set up memory page protections to keep this from happening.


Create a sentence using fetch?

It's a long walk to the end of my driveway where the paperboy always drops the newspaper, so I trained my dog to fetch it.


What accomplishments did Puerto Rican scientist Pedro Rodriguez have?

they did alot. they are the best puerto ricans are sooo fetch..if you dont kno what fetch means it means anything good so yea....buh bye puerto ricans are the best


Which data type is used in order to fetch stream of data from network or file?

char

Related questions

How does fetch decode cycle work?

The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.


How does the Fetch Decode Execute work?

The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.


How does fetch decode execute cycle work?

The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.


What is the Process (Fetch Decode Execute Store)?

The program counter in the processor holds the address of the next instruction needed from main memory. The program counter copies its contents into the memory address register. The memory address register then sends the address along the address bus to main memory and the contents of the memory location specified by the address are sent along the data bus to the memory buffer register. The contents of the memory buffer register are then copied to the current instruction register where they are decoded and executed.


What is the Excel function to fetch current date that changes with system date?

The TODAY function, like this: =TODAY()


What is the fetch-decode-cycle on a computer?

when we execute a program, the starting address is loaded in the program counter. Then for each instruction the processor goes through fetch-decode-execute states. At the fetch state the instruction code is fetched then decoded to understand what exactly has to be done. Then finally it executes that instruction. This process goes on till it reaches the end of the program.


What is the role of web crawler?

A WEB CRAWLER is a program which can be automatically fetch the websites.


Which step of the machine cycle retrieves the next program instruction from memory?

fetch


What action is taken by CPU after reset to execute first instruction of program?

The fetch-execute cycle.


Is a machine cycle step that is refer to the process of obtaining a program instruction or data item from memory?

Fetch.


How does a compute know whether the contents of a memory location should be treated as a program instruction or as a piece of data?

It all depends on the flow of the instruction stream. If the processor fetches the memory location under direct fetch under control of the program counter, it is clearly an instruction. If the processor accesses the memory location as a result of fetching or storing an operand, it is clearly data. Where it may be unclear, and subject to interpretation, is when the fetch is part of a table lookup indexing through an array. It could go either way, depending on how you look at it. In the 8085, if S0 and S1 are both high during a fetch, it is an opcode fetch. The 8086/8088 is similar but S0 and S1 are inverted in that case, i.e. both low during opcode fetch. The bottom line is that, for the 8085, it does not matter because there is only one address space and, for the 8086/8088, the processor knows when to use CS (Code Segment) versus DS (Data Segment).


Which search engines uses spiders to fetch submitted documents?

"spider" is just the nickname for a web crawling program.