in reply to Re: regular expression with @@/
in thread regular expression with @@/

Thank you all for the help. This works as expected so I will dig deeper in my code.
use warnings; use strict; my $line = 'cfperfexh.prof@@/main/1'; print "Success! -- $1\n" if $line =~ /\A(.+)\@\@/; exit 0;

Replies are listed 'Best First'.
Re^3: regular expression with @@/
by ikegami (Patriarch) on Dec 07, 2009 at 19:21 UTC
    You need -e or -d, not -f