Re: Problem with my code



Thanks a lot

Regards,
Siva


On 8/6/07, Mumia W. <mumia.w.18.spam+nospam@xxxxxxxxxxxxx> wrote:

On 08/06/2007 12:32 AM, Jeff Pang wrote:
[...]
while(my $obj = readdir DIR) {
next if $obj =~ /^\.+$/; #or [...]

More, precisely, you might use this:

next if $obj =~ /\A\.\.?\z/;




--
To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail: beginners-help@xxxxxxxx
http://learn.perl.org/





Relevant Pages

  • Re: [opensuse] Why are there not more using Linux?
    ... With thanks to all who've made this what it is, and with continuing faith that one day it'll be what it deserves to be, and have the acceptance and mainstream support it deserves. ... I recently bought a VIC 20, which was my first computer. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: [opensuse] HP Pavilion DV6000 No Microphone input
    ... Only the microphone input, needed with Skype, doesn't work. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ... I fired up a KDE app called Kmix. ...
    (SuSE)
  • Re: [opensuse] Re: 11.0 & PATH variable
    ... Yea, Brian. ... I'm not averse to adjusting -- I just like to know AHEAD of ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: [opensuse] HP Pavilion DV6000 No Microphone input
    ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ... I fired up a KDE app called Kmix. ... Kmix is one of the apps. ...
    (SuSE)
  • Re: [opensuse] HP Pavilion DV6000 No Microphone input
    ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ... Kmix is one of the apps. ... multimedia apps group (sound controls or something like that). ...
    (SuSE)