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: Advanced:
Meaning of this Perl code.

 



sh.ajay12
User

Dec 11, 2013, 5:05 AM

Post #1 of 4 (9882 views)
Meaning of this Perl code. Can't Post

Hello Members,

Please tell me what is the meaning of this Perl code.

$URL=$ENV{"S_URL"} || "/";
$USERLEVEL=$ENV{"S_USERLEVEL"} || 0;
$USERNAME=$ENV{"S_USERNAME"} || "";
$LOGINNAME=$ENV{"S_LOGINNAME"} || "unknown";

$USERLEVEL=2 if ( $USERLEVEL==1 );

$THIRDLINE=$ENV{"S_THIRDLINE"} || 0;
$TECHMANAGER=$ENV{"S_TECHMANAGER"} || 0;

$DO=$ENV{"F_DO"} || "TOP_MENU";
$DO="TOP_MENU" if ( $DO =~ m/login/i );

I have checked they are not environment variables.

Thank you in Advance.


FishMonger
Veteran / Moderator

Dec 11, 2013, 6:10 AM

Post #2 of 4 (9876 views)
Re: [sh.ajay12] Meaning of this Perl code. [In reply to] Can't Post

Please do not post the same question in multiple areas. This is a beginners level question and should not be asked in the advanced area.


sh.ajay12
User

Dec 11, 2013, 6:15 AM

Post #3 of 4 (9874 views)
Re: [FishMonger] Meaning of this Perl code. [In reply to] Can't Post

FishMonger,

I am very sorry. Request you to please help me out. Please let me know the meaning of the Perl code.

Thank You in Advance.


Laurent_R
Veteran / Moderator

Dec 11, 2013, 11:01 AM

Post #4 of 4 (9848 views)
Re: [sh.ajay12] Meaning of this Perl code. [In reply to] Can't Post

Fishmonger has provided the answer to your question in your crosspost in the beginners section. Please go there.

 
 


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

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