CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Can't locate Switch.pm Problem T_T

 



phiberoptik
New User

Jan 25, 2012, 11:07 PM

Post #1 of 4 (6564 views)
Can't locate Switch.pm Problem T_T Can't Post

i have problem when using perl script Pirate

can anyone help my problem ? T_T

Can't locate Switch.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) a
t joomscan.pl line 22.
BEGIN failed--compilation aborted at joomscan.pl line 22.

that perl script you can get here T_T

http://sourceforge.net/projects/joomscan/files/latest/download

i'm using active perl..


rovf
Veteran

Jan 26, 2012, 1:17 AM

Post #2 of 4 (6560 views)
Re: [phiberoptik] Can't locate Switch.pm Problem T_T [In reply to] Can't Post

What Perl version are you using?


davidbj
Novice

Jan 26, 2012, 3:08 AM

Post #3 of 4 (6555 views)
Re: [phiberoptik] Can't locate Switch.pm Problem T_T [In reply to] Can't Post

Switch.pm is very unreliable! Take care.

However, with active perl type in cmd: ppm install Switch.

If that don't works, yo should go to CPAN; search Switch, downlaod sources and compile.

P.D. If u want a Joomla Scanner, try JoomlaScan from @Pepeluxx, it's updated in 2011.

http://blog.pepelux.org/


FishMonger
Veteran / Moderator

Jan 26, 2012, 8:25 AM

Post #4 of 4 (6542 views)
Re: [phiberoptik] Can't locate Switch.pm Problem T_T [In reply to] Can't Post

Switch.pm was depreciated in perl v5.11 and removed (from core) in v5.14

It has been replaced with the built-in given/when, which was introduced in v5.10
https://www.google.com/search?q=perl+given+when&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

If you must use the older, depreciated, broken Switch.pm with v5.14, then you'll need to install it yourself (via ppm or cpan).

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives