elegant REGEX

2001-05-18 Thread Roiy
Hi guys, can any one suggest me a REGEX to catch the numbers in the following input line: test case total : 32456 allocated : 12000 from tech I want to catch the two numbers and insert them to vars thx.

Graphics module gor perl

2001-06-03 Thread Roiy
Hi All, Does anybody know, worked with , an easy to use perl module that can create graphs and graphical images I tried installing GD::graph but I have to install much more libs back. maybe there is a simpler module

Elegent way to extract blank lines from arrays..?

2001-07-23 Thread Zysman, Roiy
Hi Guys and Girls, Does anyone have an idea of an elegent way to extract certain item from an array (not the last one or the first one). The array should remain in a right order after the extraction. tanx. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Looking for perl specifications on the net

2001-04-23 Thread Zysman, Roiy
> Hi guys and girls , does any one have a web link to perl specifications, > (For example, are the specifications for a variable name) ?? > Thx

FW: associative array of arrays

2001-09-22 Thread Zysman, Roiy
Hi all, Can any one show me a way on how to use associative arrays to hold array pointers,and how to modify the arrays (not the associativeones) Thx

a beginners challenge

2001-11-28 Thread Zysman, Roiy
pick who you think is the winner. > Roiy > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

a beginners challenge

2001-11-30 Thread Zysman, Roiy
pick who you think is the winner. > Roiy > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RegEx Question

2004-07-18 Thread Zysman, Roiy
Hi all, Is there a way to extract a filename out of a path string using just one RegEx and not using the split function ? For Example, I want to extract foo.txt from /my/long/path/foo.txt path string. Thanks.

passing hash to a function question

2002-03-12 Thread Zysman, Roiy
Hi all, What is the meaning of the '+' sign before the shift command in my test sub. Why doesn't it works without the '+' sign ? 10x Roy test_sub({'key1'=>'value1','key2'=>'value2'}); sub test_sub{ my %htest = %{+shift}; #why doesn't it works without the + sign print keys(%htest);

limiting a regular expression

2002-03-16 Thread Zysman, Roiy
.../.../... /dir6/dir7/dir8/tmp_test2/dir9/dir10../...//... if i use (\S+) it will also catch the following dirs, even if i use (\S+)\/ Any suggestions ? Thx Roiy

RE: limiting a regular expression

2002-03-17 Thread Zysman, Roiy
I'm sorry if i wasn't clear after tmp_ can come any character for example tmp_6676frf877 or tmp_hbhbbd3y78783xcbh how can i limit my regex to catch any character but not "/" Thx Roiy -Original Message- From: Mark Maunder [mailto:[EMAIL PROTECTED]] Sent: Sunday, March

FW: regexp help

2002-06-02 Thread Zysman, Roiy
> -Original Message- > From: Zysman, Roiy > Sent: Sunday, June 02, 2002 2:40 PM > To: '[EMAIL PROTECTED]' > Subject: regexp help > > Hi all > how do i catch the last segment of a path and file name > for example i would like

sorting a hash by using a function

2002-11-03 Thread Zysman, Roiy
$item ( sort $sort_func keys %$hash){ how do i know what is the name of the hash inside the scope of the sort_func ??? something like that maybe ??? sub sort_hash_by_year_month(){ $_{$a} <=> $_{$b}; } Roiy Zysman

Subscript question

2003-02-04 Thread Zysman, Roiy
Hi All Why does the command 'print (localtime(time))[4];' does not work And the following 2 lines do work '[my $temp = (localtime(time))[4]; Print $temp;' Is there away to avoid the temporary variable ? Roiy -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Ncurses for perl

2003-02-17 Thread Zysman, Roiy
Hi all, Does anybody know of a perl _ncurses_ module ? . I saw some _curses_ modules at cpan but not ncurses. Thanks,Roiy -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perl graph modules

2002-10-05 Thread Zysman, Roiy
Hi All, Any one know of a good free graph modules other than gdchart ? 10x Roiy