Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: shlomyb
  • Content: Threads
  • Order by date
  1. shlomyb

    Spyware software for an old computer ..

    I have an old computer ...P3--667MHZ--394M memory . Can someone recommend me SpyWare that is a low resources consumer? I have no problem to purchase the software as long it worth it... -Thanks.
  2. shlomyb

    How o remove the Windows Media Player ?

    Hi Can someone tell me how to remove the Windows Media Player ? Thanks.
  3. shlomyb

    Error message while sending an e-mail ...

    What does it mean ? [root@Linux14 root](10.119.55.14)> WARNING: local host name (Linux14) is not qualified; fix $j in config file sbenjo... Connecting to [127.0.0.1] via relay... sbenjo... Deferred: Connection refused by [127.0.0.1]
  4. shlomyb

    Question regards regexep

    I have this regexe : $line =~ m!<?xml\s+version="([^"]+)"\s+encoding="([^"]+)"?\s+>! Why I can not catch this line ?! <?xml version="1.0" encoding="iso-8859-1"? >
  5. shlomyb

    regular expression

    Which regular expression should I use to capture all this tags : <Object> </Object> <Objects> </Objects> -Thanks ....
  6. shlomyb

    Regular expression

    Which regular expression should I use to catch: <?xml version="1.0" encoding="iso-8859-1"?> When version can be "<number>.<number>" And encoding can be some iso number ?
  7. shlomyb

    switch.pm module over Solaris

    Hi I have a question regarding switch.pm . I use it over Solaris 5.8 and I get this kind of messages… Malformed UTF-8 character (unexpected continuation byte 0x93, with no preceding start byte) in bitwise and (&) at /usr/lib/perl5/5.8 .0/Switch.pm line 251. ip_address Malformed UTF-8 character...
  8. shlomyb

    a matching regular for &lt;hi&gt;hello&lt;/hi&gt; ?

    Hi what is the matching regular expration for : <hi>hello</hi> Is it ---> $line =~ m!<[^>]*>(\S+)</[^>]*>!) Thanks.
  9. shlomyb

    Script will not be executed without the -w flag ?!

    Hi guys I have a script named "a.pl" 1.I can NOT execute it with the following command : perl a.pl and I get the following command :" bad interpreter: No such file or directory" 2.But CAN with : perl -w a.pl I use a linux machine and verified by a "which perl" command the perl path...
  10. shlomyb

    What does this command do ?

    Is there a meaning to open(FILE,"<>file.txt) command. I am asking because it seems that when I tried to use the open command again but instead <> I used < things get a little bit weird , meaning : open (FILE,"<","file.txt")or die ("EXIT); I got a return value 1 but not "EXIT" ! Can be...
  11. shlomyb

    Explain me please the following command ..

    Hi Here is the code : eval {$a = $parser->parsefile("$OLD_CONF_DIR$file");}; & {&LOG("ERROR","Erorr ...");print $@; exit(1); } if $@; My question is not related to the eval command but to the "&" after it.... what does it mean ?
  12. shlomyb

    How can I uninstall a module...

    I search cpan.com and found this one : http://www.cpan.org/misc/cpan-faq.html#How_delete_Perl_modules But I do NOT want to use some external modules ... So are there some command lines that I can use ? -Thanks
  13. shlomyb

    Get an answer from a `command` .

    I use `a.pl` command inside my script. I want to get the answer from `a.pl` (success/fail). 1.can I use ? `a.pl`; $answer=$?; 2.I try it and when a.pl returns 1 $answer was 256 ?! Can someone explain it to me ?
  14. shlomyb

    Design Question - OPEN/CLOSE FILE

    Hi I have a script that open a file , do some actionsa and close the file. In the "do some actions" section I check some conditions and can exit the script with error(1) WITHOUT close the file ( cause in the script , I did not get there yet ...) Does Perl close the file automitacally ? OR...
  15. shlomyb

    HowTO -execute a command from perl and manipulte its output.

    Hi I want to execute a "cp" command from a perl script and in case the file does not exist I want to get and manipulate the output and do some more actions before I terminate the script.how? Thanks.
  16. shlomyb

    HOW COME -XML::DOM - 2 QUEST.

    1.By using XML::DOM::getChildNodes() I get diffrent answers for a flatted xml line and for "human readable" file . 2.Number of sons (as I believe means "direct sons" ) is NOT correct . see: http://www.tek-tips.com/viewthread.cfm?qid=1303443&page=1 Thus I prefered for a recursive method to...
  17. shlomyb

    How can I change xml structure

    Hi I have this xml file <candy><product>Mints</product><product>Chocolate</product><product>Circus Peanuts</product></candy> and I want it to be : <candy> <product>Mints</product> <product>Chocolate</product> <product>Circus Peanuts</product> </candy> HOW CAN I DO...
  18. shlomyb

    Problem with getChildNodes() command

    I use the following xml: <?xml version="1.0"?> <me> <name>Joe Cool </name> <age>24</age> <sex>male</sex> </me> my Ques. Why when I use the following code I get 7 and not 3 , if it is a recursive command , why 7 and not 6 ??? print $children->getLength; The full script : #!/usr/bin/perl use...
  19. shlomyb

    Inverse in_addr_t

    I use - inet_addr() and for some reason I need a way to inverse in_addr_t . Such as : Before: 10.11.12.13 After: 13.12.11.10 Thanks!!! #include <arpa/inet.h> in_addr_t inet_addr(const char *cp);
  20. shlomyb

    HowTo - manipulating an existing tree

    I use XML::DOM to get a xml to a tree. By getChildern I can get a list of a specific node. But how can I manipulte this tree by insert a new node / delete a node and so one... thanks.

Part and Inventory Search

Back
Top