grashoper has asked for the wisdom of the Perl Monks concerning the following question:
f ($Session->{'usrSystem'} eq "MFR" && $Session->{'usrLevel'}=="!M") { $str .= "<leftIndex>"; $str .= xmlFileData("Content/SSResources", $Session->{'usrSystem +'}.ad.".xml", "mLeftIndex()"); $str .= xmlFileData("Content/SSResources", $Session->{'usrSystem +'}.$Session->{'usrAccount'}.".xml", "mLeftIndex()"); $str .= $logoutLink; $str .= "</leftIndex>"; return $str; } ###Shows regular for everyone except this access level... ? if ($Session->{'usrSystem'} eq "MFR" && !$Session->{'usrLevel'}==" +!A") { $str .= "<leftIndex>"; $str .= xmlFileData("Content/SSResources", $Session->{'usrSystem +'}.".xml", "mLeftIndex()"); $str .= xmlFileData("Content/SSResources", $Session->{'usrSystem +'}.$Session->{'usrAccount'}.".xml", "mLeftIndex()"); $str .= $logoutLink; $str .= "</leftIndex>"; } return $str; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex question
by Bloodnok (Vicar) on Oct 14, 2009 at 12:16 UTC | |
by grashoper (Monk) on Oct 14, 2009 at 13:42 UTC |