in reply to POD-Browser 0.01 released.
Also, this is weird
Kindly rewrite it likesub INC_AddPath { my( $this ) = shift ; my $dialog = Wx::DirDialog->new($this , "$TITLE - \@INC -> Add PATH" + , $LASTDIR ) ; my $dir ; if( $dialog->ShowModal == wxID_CANCEL ) { $dir = undef ;} else { $dir = $dialog->GetPath ;} $dir =~ s/[\\\/]+/\//gs ; push(@INC , $dir) ; Wx::MessageBox("Path Added:\n$dir", "\@INC -> New PATH", wxOK | wxIC +ON_INFORMATION, $this ); }
sub INC_AddPath { my( $this ) = shift ; my $dialog = Wx::DirDialog->new($this , "$TITLE - \@INC -> Add PATH" + , $LASTDIR ) ; return if $dialog->ShowModal == wxID_CANCEL; my $dir = $dialog->GetPath ; $dir =~ s/[\\\/]+/\//gs ; # this is weird, but whatever push(@INC , $dir) ; Wx::MessageBox("Path Added:\n$dir", "\@INC -> New PATH", wxOK | wxI +CON_INFORMATION, $this ); }
|
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests. ** The Third rule of perl club is a statement of fact: pod is sexy. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: POD-Browser 0.01 released.
by gmpassos (Priest) on May 02, 2003 at 10:24 UTC |