Hello Thanasis1988,
If you're doing this in notepad on Windows, you should know that all files (even if you give extensions, in this case a .pl) will save as bonjour.pl.txt. To confirm, open up your command prompt cmd and type dir. You should find the cause of your problem.
As an aside, I suggest that you first get set up with a better development environment - get yourself a better text editor, say Notepad++ or Sublime Text. You'll thank yourself later in saving much of your productivity for better tasks :-)
Have fun!
EDIT: Borked links :-( Thanks Corion! | [reply] [d/l] [select] |
Hi again,
First of all i'd like to thank you for your quick response.I have the same problem when i am coding in Notepad and in Padre.So maybe there is another reason why i am having this problem.
| [reply] |
| [reply] |
Just an FYI, in general, if you'd like your files to be named explicitly, surround them in double quotes. On Windows, in Notepad (for example), saving a file by just providing a name, my_script, will save the file with an *actual* name of 'my_script.txt'. To have it named 'my_script.pl', tell the save dialog the full name and surround it in quotes: "my_script.pl". The application will then _not_ add its default extension. | [reply] |
good , that you figured out your problem .Just wanted to point out your script files will run fine with .txt or whatever .Its just convention to mark them as .pl or .perl and it is recommended to do so
| [reply] |