RSS
 
Keyword:
Questions: 7815 By Type : By Experience :
Questions type  Normal Difference Multiple Others

Question for   Software

  • Question:What does read() return at end of file? ... Normal
    Answer:0 A defined (but false) 0 value is the proper indication of the end of file for read() an...
  • Question:How do you print out the next line from a filehandle with all its bytes reversed? ... Normal
    Answer:print scalar reverse scalar <FH> Surprisingly enough, you have to put both the rever...
  • Question:What happens when you return a reference to a private variable? ... Normal
    Answer:Perl keeps track of your variables, whether dynamic or otherwise, and doesn't free thing...
  • Question:What is Perl one-liner? ... Normal
    Answer:There are two ways a Perl script can be run: --from a command line, called one-liner, that...
  • Question:Which of these is a difference between C++ and Perl? ... Normal
    Answer:Perl can have objects whose data cannot be accessed outside its class, but C++ cannot. Pe...
  • Question:How do I set environment variables in Perl programs? ... Normal
    Answer:you can just do something like this: $path = $ENV{'PATH'}; As you may remember, "%ENV...
  • Question:Why do you use Perl?... Normal
    Answer:Perl is a powerful free interpreter. Perl is portable, flexible and easy to learn....
  • Question:How to turn on Perl warnings? Why is that important? ... Normal
    Answer:Perl is very forgiving of strange and sometimes wrong code, which can mean hours spent s...
  • Question:How do I do fill_in_the_blank for each file in a directory? ... Normal
    Answer:Here's code that just prints a listing of every file in the current directory: #!/usr/bi...
  • Question:How to open and read data files with Perl ... Normal
    Answer:Data files are opened in Perl using the open() function. When you open a data file, all ...
  1  2  3  4  5  »